-
-
Save dkuku/cf9189c4962495cfcafde0a051765309 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] | |
name = Firstname Lastname | |
email = [email protected] | |
[alias] | |
co = checkout | |
cot = "!f() { git branch | grep $1 | xargs -I {} git co {}; }; f" | |
b = branch | |
pu = push -u origin HEAD | |
ci = commit | |
st = status | |
ap = add --patch | |
rename = branch -m | |
rn = rename | |
clean-merged = ! git branch --merged | egrep -v \"(^\\*|master|dev)\" | xargs git branch -d | |
age = for-each-ref --sort=committerdate refs/heads/ --format='%(HEAD) %(color:yellow)%(refname:short)%(color:reset) - %(color:red)%(objectname:short)%(color:reset) - %(contents:subject) - %(authorname) (%(color:green)%(committerdate:relative)%(color:reset))' | |
[core] | |
editor = vim | |
[push] | |
default = simple |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment