Last active
January 11, 2019 16:56
-
-
Save FaKleiser/1331219aea60522cd83a776c8b0f0e7a to your computer and use it in GitHub Desktop.
Some useful git aliases
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
[core] | |
editor = vim | |
eol = lf | |
autocrlf = input | |
[alias] | |
last = log -1 --stat | |
cp = cherry-pick | |
co = checkout | |
cl = clone | |
ci = commit | |
st = status -sb | |
br = branch | |
unstage = reset HEAD -- | |
dc = diff --cached | |
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %Cblue<%an>%Creset' --abbrev-commit --date=relative --all |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment