Skip to content
Browse files

Add pick-all variant and update git-pull-request

  • Loading branch information...
1 parent 459ff22 commit d732009989b348471f192e7b07bbef5a1c28c0d1 @edsinclair committed Jul 25, 2013
Showing with 2 additions and 1 deletion.
  1. +1 −0 .gitconfig
  2. +1 −1 bin/git-pull-request
View
1 .gitconfig
@@ -15,6 +15,7 @@
llm = log -p master..
b = branch
up = pull
+ pick-all = !sh -c 'git co staging && git cp $1 && git up && git push && git co production && git cp $1 && git up && git push && git co master && git b -D staging && git b -D production' -
rmb = !sh -c '(git branch -D $1 || test 1) && git push origin :$1' -
parent-update = "!git fetch parent && git rebase parent/master"
consume = !sh -c 'git merge $1 && git rmb $1' -
View
2 bin/git-pull-request
@@ -11,4 +11,4 @@ unless system("git show origin/#{branch} 2>&1 > /dev/null")
`git push -u origin #{branch}`
end
-exec %Q{open "https://github.com/#{repo}/pull/new/#{branch}"}
+exec %Q{open "https://github.com/#{repo}/compare/master...#{branch}?expand=1"}

0 comments on commit d732009

Please sign in to comment.
Something went wrong with that request. Please try again.