Created
August 30, 2023 15:51
-
-
Save NikiYani/5b9860b4145990f239d540ffe06e3816 to your computer and use it in GitHub Desktop.
My .gitconfig
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
[user] | |
email = YanchenkovNS@?????.ru | |
name = Yanchenkov Nikita Sergeevich | |
username = YanchenkovNS | |
[init] | |
defaultBranch = master | |
[credential] | |
helper = cache | |
[alias] | |
s = status | |
co = checkout | |
cob = checkout -b | |
del = branch -d | |
delf = branch -D | |
save = add -A && git commit -m | |
undo = reset HEAD~1 --mixed | |
res = reset --hard | |
done = push origin HEAD | |
lg = log --pretty=format:\"%C(magenta)%h%Creset -%C(red)%d%Creset %s %C(dim green)(%cr) [%an]\" --abbrev-commit -8 --graph | |
br = branch --sort=-committerdate --format='%(color:reset)%(HEAD) %(color:green)%(objectname:short) %(color:yellow)%(refname:short)%(color:reset) - %(contents:subject) %(color:green)(%(committerdate:relative)) %(color:green)[%(authorname)]' | |
[core] | |
excludesFile = ~/.gitignore |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment