Skip to content

Commit

Permalink
.gitconfig: alias.pr give more appropriate ref name
Browse files Browse the repository at this point in the history
Give a more appropriate ref name for pr refs that get pulled in
  • Loading branch information
alanxz committed Jun 24, 2013
1 parent 8596214 commit 6946f6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .gitconfig
Expand Up @@ -15,4 +15,4 @@
assume = update-index --assume-unchanged
unassume = update-index --no-assume-unchanged
assumed = "!git ls-files -v | grep ^h | cut -c 3-"
pr = "!f() { git fetch origin refs/pull/$1/head:pr/$1; } ; f"
pr = "!f() { git fetch origin refs/pull/$1/head:remotes/origin/pr/$1; } ; f"

0 comments on commit 6946f6e

Please sign in to comment.