diff --git a/bin/git-local-commits b/bin/git-local-commits index 4447902..eee5a2f 100755 --- a/bin/git-local-commits +++ b/bin/git-local-commits @@ -1,6 +1,3 @@ #!/usr/bin/env bash -ref=$(git symbolic-ref HEAD) -branch=${ref#refs/heads/} - -git log origin/${branch}..${branch} $* +git log @{upstream}..@ $*