Last active
July 3, 2017 14:42
-
-
Save kpman/3343a2f1c1d46b02786bdcd5397bbb86 to your computer and use it in GitHub Desktop.
Revisions
-
kpman revised this gist
Jul 3, 2017 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -4,7 +4,7 @@ ``` $ vim ~/.oh-my-zsh/lib/aliases.zsh (in my case) alias pr='hub pull-request -m "$(git reflog -1 | sed '\''s/^.*: //'\'')" | xargs open' ``` ## Source rc file -
kpman created this gist
Jun 23, 2017 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,18 @@ ## Install [hub](https://github.com/github/hub) ## Edit your aliases setting ``` $ vim ~/.oh-my-zsh/lib/aliases.zsh (in my case) alias pr='hub pull-request -m "$(git reflog -1 | sed '\''s/^.*: //'\'')"' ``` ## Source rc file ``` $ source ~/.zshrc (in my case) ``` ## Usage ``` $ git push origin <branch-name> && pr ```