Skip to content

Commit

Permalink
Two new aliases: prefix remote branch & cherry/show.
Browse files Browse the repository at this point in the history
  • Loading branch information
Julien Miotte committed May 2, 2013
1 parent a2a7d09 commit 53a6949
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions gitconfig_home
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
oops = rebase -i HEAD~10
rock = !git stash && git pull --rebase && git push && git stash pop
tree = log --graph --decorate --pretty=oneline --abbrev-commit
prefix-remote-branch = "!f() { git push origin origin/$1:refs/heads/$2/$1; git push origin :refs/heads/$1; }; f"
show-cherry = "!f() { git cherry $1|grep -v '^+'|awk '{ print $2 }'|xargs git show; }; f"
[merge]
tool = vimdiff
[push]
Expand Down

0 comments on commit 53a6949

Please sign in to comment.