Created
December 6, 2024 10:39
-
-
Save alittlesliceoftom/7386bb39a9dda3698f70aab1735c2446 to your computer and use it in GitHub Desktop.
Prefferred Additions to git config file (mostly only use the first 5 aliases.
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] | |
st = status | |
com = commit | |
co = checkout | |
br = branch | |
di = diff | |
unstage = reset HEAD -- | |
last = log -1 HEAD | |
ll = log --pretty=format:"%C(yellow)%h%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate --numstat | |
ld = log --pretty=format:"%C(yellow)%h\\ %C(green)%ad%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate --date=short --graph | |
ls = log --pretty=format:"%C(green)%h\\ %C(yellow)[%ad]%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate --date=relative | |
[push] | |
autoSetupRemote = true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
git config --list --show-origin
can help you find your config file, or origin of specific config settings