Last active
April 26, 2018 20:42
-
-
Save kflorence/5422959 to your computer and use it in GitHub Desktop.
Useful config settings
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] | |
br = branch | |
ci = commit | |
cl = clone | |
co = checkout | |
cp = cherry-pick | |
df = diff | |
lg = log --pretty=format:\"%h %ad | %s%d [%an]\" --graph --date=short | |
mg = merge --no-ff | |
pl = pull --rebase | |
tidy = !git branch --merged | grep -v '\\*' | xargs git branch -d && git remote | xargs -n 1 git remote prune | |
st = status -s | |
who = shortlog -s -- | |
[color] | |
ui = true | |
[color "status"] | |
added = yellow bold | |
untracked = green bold | |
changed = red bold | |
[core] | |
editor = vim | |
ignorecase = false | |
[user] | |
name = <your name> | |
email = <your email> | |
[push] | |
default = current |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment