Guest User

Untitled

a guest
Mar 19th, 2018
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.99 KB | None | 0 0
  1. [alias]
  2. lg1 = log --graph --decorate --pretty=oneline --abbrev-commit --all --relative-date
  3. 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
  4. 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
  5. 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
  6. tree = !"git lg4"
  7. checkprunelocal = "!git branch --merged | grep -v \"\\*\" | egrep -v \"master\""
  8. prunelocal = "!git branch --merged | grep -v \"\\*\" | egrep -v \"master\" | xargs -n 1 git branch -d"
  9. nukebranch = !"f() { git branch -D $1; git push origin :$1; }; f"
Add Comment
Please, Sign In to add comment