You are not logged in.
Usually 'auracle outdated' will inform about updates. Then I cd into the AUR directory, type 'git pull', type cat PKGBUILD. Now to make checking easier I just want to view something like https://aur.archlinux.org/cgit/aur.git/ … e54b1c4622 without opening my internet browser. What cli commands would you use?
Last edited by equalizer876 (2021-06-03 17:38:25)
Offline
git show
Offline
Thanks! This helped.
Offline
Note that git show only gets the latest commit changes.
If by chance there are multiple commits (rare), you can do:
git diff $from $to
Replacing <from> and <to> with the respective info that git pull shows, usually commit hashes.
Usually its a pair of hashes joined by ..
Offline
Or, before the pull, do a
$ git fetch
$ git diff master origin/master
to see All upstream changes since the last pull.
Offline
$ git config --get alias.new
log --pretty=fuller --cc @{1}..@{0}
"git new" then shows the full log, with diffs and mergediffs and both author/committer, for the range of commits between the pre-pull commit and the post-pull commit. See "git help revisions" for the manual page describing @{1} and other interesting ways to specify commits.
Managing AUR repos The Right Way -- aurpublish (now a standalone tool)
Offline