Created
November 9, 2012 12:15
-
-
Save vishna/4045417 to your computer and use it in GitHub Desktop.
push & pull
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
BRANCH = `git rev-parse --abbrev-ref HEAD` | |
MESSAGE = ARGV[0] | |
REMOTE = "vishna" | |
_REMOTE = "eyeem" | |
_BRANCH = "3.4_maintenance" | |
`git push #{REMOTE} #{BRANCH}` | |
`hub pull-request \"#{MESSAGE}\" -b #{_REMOTE}:#{_BRANCH} -h #{REMOTE}:#{BRANCH}` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment