Last active
January 29, 2025 09:52
-
-
Save berkgaut/57e32559fcf70843ad24c9fabbb59749 to your computer and use it in GitHub Desktop.
gitconfig with CLI-friendly 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] | |
co = checkout | |
br = branch --sort=-committerdate | |
camend = commit --amend --reuse-message=HEAD | |
st = status | |
ll = log --pretty=format:\"%h - %an, %ad: %s\" -10 | |
pushnew = push --set-upstream origin HEAD | |
pushfwl = push --force-with-lease | |
resethd = reset HEAD~1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment