Created
November 17, 2021 09:08
-
-
Save pholat/c1669ac3e00261c826348159bee43ad4 to your computer and use it in GitHub Desktop.
the most time saving configurations in my .gitconfig file
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
[core] | |
autocrlf = false | |
[alias] | |
# lists user branches in last time ordered matter - useful to manage multiple branches at once | |
brtime = for-each-ref --sort=committerdate refs/heads/ --format='%(color: red)%(committerdate:short) %(color: cyan)%(refname:short)' | |
# list all branches including remotes in timed matter - usefull to verify branches older than `x` | |
brtime-all = for-each-ref --sort=committerdate --format='%(color: red)%(committerdate:short) %(color: white)%(authorname) %(color: cyan)%(refname:short)' | |
[push] | |
default = current |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment