Created
March 28, 2012 14:40
-
-
Save jeffjrare/2226724 to your computer and use it in GitHub Desktop.
.gitconfig 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
[color] | |
ui = true | |
[apply] | |
whitespace = nowarn | |
[alias] | |
st = status | |
cam = commit -a -m | |
ci = commit | |
cia = commit --amend | |
co = checkout | |
br = branch | |
sb = show-branch | |
cp = cherry-pick | |
hist = log --pretty=format:\"%h %ad | %s%d [%an]\" --graph --date=short#" | |
unstage = reset HEAD -- | |
u = reset HEAD -- | |
m = merge --no-ff | |
po = pull origin | |
pr= pull --rebase | |
s = show --pretty=format: --name-only | |
staged = diff --cached | |
rb = rebase | |
rbc = rebase --continue | |
rbs = rebase --skip | |
rl = reflog | |
rs = remote show | |
rt = remote | |
ru = remote update | |
rp = remote prune | |
sm = submodule | |
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment