-
-
Save f-karagoz/1e3f3685e19c6e62fb15209910a8b66e to your computer and use it in GitHub Desktop.
Useful git config
This file contains hidden or 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] | |
| amend = commit --amend -C HEAD | |
| a = add | |
| aa = add -A | |
| ap = add -p | |
| ar = !git add -A . && git reset HEAD . | |
| br = branch | |
| cb = checkout -b | |
| ci = commit | |
| cim = commit -m | |
| co = checkout | |
| go = checkout | |
| df = diff | |
| dic = diff --cached | |
| dh = diff HEAD | |
| pom = push origin master | |
| plom = pull origin master | |
| poa = push origin --all | |
| rh = reset HEAD | |
| st = status | |
| ignore = update-index --assume-unchanged | |
| unignore = update-index --no-assume-unchanged | |
| ignored = !git ls-files -v | grep '^h' | |
| who = shortlog -sne | |
| graph = log --pretty=oneline --abbrev-commit --graph | |
| [color] | |
| ui = true | |
| [core] | |
| autocrlf = true | |
| ignorecase = false | |
| [branch] | |
| autosetuprebase = always | |
| [diff] | |
| renames = copies | |
| algorithm = patience |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment