Skip to content

Instantly share code, notes, and snippets.

@adnasa
Last active December 22, 2015 03:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save adnasa/6411938 to your computer and use it in GitHub Desktop.
Save adnasa/6411938 to your computer and use it in GitHub Desktop.
Git alias, baby!
[alias]
d = "diff --unified=10"
sh = "show --unified=10"
st = "status"
co = "checkout"
m = "merge"
ls = "log --pretty=format:\"%C(yellow)%h %C(blue)%ad%C(red)%d %C(reset)%s%C(green) [%cn]\" --decorate --date=short"
standup = "log --since '1 day ago' --oneline --author <adnan@netconsult.se>"
br = "branch"
bra = "branch -a"
rms = "remove set-url"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment