Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [alias]
- lg1 = log --graph --decorate --pretty=oneline --abbrev-commit --all --relative-date
- lg2 = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%cr)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' --all
- lg3 = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(bold yellow)%d%C(reset)%n'' %C(white)%s%C(reset) %C(dim white)- %an%C(reset)' --all
- lg4 = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%cr)%C(reset) -%C(bold yellow)%d%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)' --all
- tree = !"git lg4"
- checkprunelocal = "!git branch --merged | grep -v \"\\*\" | egrep -v \"master\""
- prunelocal = "!git branch --merged | grep -v \"\\*\" | egrep -v \"master\" | xargs -n 1 git branch -d"
- nukebranch = !"f() { git branch -D $1; git push origin :$1; }; f"
Add Comment
Please, Sign In to add comment