Skip to content

Instantly share code, notes, and snippets.

@wl2776
Created November 16, 2018 02:08
Show Gist options
  • Select an option

  • Save wl2776/e6cfc1db3912f53776fdd0cc2f1bf7d1 to your computer and use it in GitHub Desktop.

Select an option

Save wl2776/e6cfc1db3912f53776fdd0cc2f1bf7d1 to your computer and use it in GitHub Desktop.
Git aliases
[alias]
co = checkout
br = branch
ci = commit
st = status
di = diff --color
hist = log --pretty=format:'%C(cyan)%h%Cred%d %Creset%s%Cgreen [%cn]' --decorate --graph
history = log --pretty=format:'%C(cyan)%h%Cred%d %Creset%s%Cgreen [%cn]' --decorate
filelog = log -u
fe = fetch
di = difftool -y
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment