Created
February 3, 2017 11:06
-
-
Save arekolek/ee7c6d729e52d1d77a331111c64a5f6e to your computer and use it in GitHub Desktop.
Helpful aliases for Git
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
[alias] | |
st = status | |
aliases = config --get-regexp ^alias\\. | |
precommit = diff --cached --minimal -w | |
amend = commit --amend | |
discard = checkout -- | |
unstage = reset HEAD -- | |
stashes = stash list | |
save = commit -m | |
graph = log --graph --branches --remotes --tags --format=format:'%Cgreen%h %Creset• %<(75,trunc)%s (%cN, %cr) %Cred%d' --date-order | |
lol = log --graph --decorate --pretty=oneline --abbrev-commit --all | |
branchout = checkout -b | |
branches = branch -a | |
[color] | |
ui = auto |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment