Created
October 10, 2019 19:57
-
-
Save gidgid/b2729e04110ce42dfc177f3ac8b6d9fc to your computer and use it in GitHub Desktop.
Shows my adds and checkouts in Gitconfig
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] | |
# Adding files | |
## "add untracked" - no untracked files | |
au = add -u | |
## "add all" - add everything. https://stackoverflow.com/questions/572549/difference-between-git-add-a-and-git-add | |
aa = add -A | |
## "add patch" - choose what to add | |
ap = add -p | |
# Checkouts | |
co = checkout | |
## "checkout branch" - checkout to a newly created branch (git branch <name>; git checkout <name>) | |
cob = checkout -b | |
## "checkout patch" - decide what to checkout | |
cop = checkout -p |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment