Created
December 8, 2015 10:00
-
-
Save noties/ec7c61b3eb76f502e0f0 to your computer and use it in GitHub Desktop.
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
[alias] | |
erm = "!git branch -r --merged | grep -v master | grep -v develop | sed 's/origin\\///' | xargs -n 1" | |
elm = "!git branch --merged | grep -v master | grep -v develop | sed 's/origin\\///' | xargs -n 1" | |
pt = "!git push origin --tags" | |
cb = "!git rev-parse --abbrev-ref HEAD" | |
pcb = "!git rev-parse --abbrev-ref HEAD | xargs -n 1 git push origin -u" | |
ac = "!git add . && git commit -m" | |
s = "!git status" | |
nb = "!git checkout -b" | |
cpc = "!f() { cb=$(git cb); git checkout $1 && git pull && git checkout $(echo $cb); }; f" | |
rpt = "!f() { git log --graph --oneline --decorate --after="$1"; }; f" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment