Last active
September 12, 2025 22:36
-
-
Save mikecentola/6d4f70e9a937bc067759ca8ce7bc84a4 to your computer and use it in GitHub Desktop.
Git Config with 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
| [commit] | |
| template = ~/.gitmessage | |
| [tag] | |
| gpgsign = true | |
| [alias] | |
| st = status | |
| br = branch --format='%(HEAD) %(color:yellow)%(refname:short)%(color:reset) - %(contents:subject) %(color:green)(%(committerdate:relative)) [%(authorname)]' --sort=-committerdate | |
| brd = branch -d | |
| co = checkout | |
| cob = checkout -b | |
| com = checkout main | |
| ci = commit -S | |
| di = diff | |
| fch = fetch | |
| last = log -1 HEAD | |
| lg = !git log --pretty=format:\"%C(magenta)%h%Creset -%C(red)%d%Creset %s %C(green)(%cr) [%an]\" --abbrev-commit -30 | |
| pll = pull | |
| psh = push --tags | |
| sl = shortlog | |
| tg = tag -s -a | |
| undo = reset HEAD~1 --mixed | |
| [winUpdater] | |
| recentlySeenVersion = 2.25.0.windows.1 | |
| [pull] | |
| rebase = true | |
| [init] | |
| defaultBranch = main | |
| [color] | |
| ui = auto | |
| [fetch] | |
| prune = true | |
| [diff] | |
| colorMoved = zebra |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment