Created
October 31, 2025 15:55
-
-
Save ekzhang/ed9e4b36cee96f9431deaeeb342a31f7 to your computer and use it in GitHub Desktop.
New ~/.gitconfig file for 2025
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
| [user] | |
| name = Eric Zhang | |
| email = [email protected] | |
| [credential] | |
| helper = store | |
| [alias] | |
| sw = switch | |
| lg = log --color --graph --pretty=format:'%Cgreen%h%Creset%C(yellow)%d%Creset %s %C(dim)(%cr)%Creset %C(bold blue)%an%Creset' --abbrev-commit --all | |
| lg-specific = log --color --graph --pretty=format:'%Cgreen%h%Creset%C(yellow)%d%Creset %s %C(dim)(%cr)%Creset %C(bold blue)%an%Creset' --abbrev-commit | |
| pa = fetch --prune | |
| del = branch -D | |
| [fetch] | |
| prune = true | |
| [pull] | |
| rebase = true | |
| [rebase] | |
| autoStash = true | |
| [init] | |
| defaultBranch = main |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment