Skip to content

Commit

Permalink
git: Add last-pull-sha alias
Browse files Browse the repository at this point in the history
  • Loading branch information
itspriddle committed Sep 17, 2021
1 parent b791fce commit 66966c2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gitconfig
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@
last-committer = !git --no-pager log --pretty="%an" --no-merges -1
last-subject = !git --no-pager log --pretty="%s" -1
show-files = !git --no-pager show --name-only --format=
last-pull-sha = !"git reflog | awk '/: pull / { if (l == 1) { print $1; exit }; l+=1 }'"

[advice]
statusHints = false
Expand Down

0 comments on commit 66966c2

Please sign in to comment.