Skip to content

Instantly share code, notes, and snippets.

@Bodacious
Created March 10, 2015 19:37
Show Gist options
  • Select an option

  • Save Bodacious/a830ddba35aeb47d91e8 to your computer and use it in GitHub Desktop.

Select an option

Save Bodacious/a830ddba35aeb47d91e8 to your computer and use it in GitHub Desktop.
My GitConfig file
[diff]
tool = diff
algorythm = minimal
[color]
branch = auto
diff = auto
status = auto
interactive = auto
ui = true
pager = true
[color "branch"]
current = yellow reverse
local = yellow
remote = green
[color "diff"]
meta = yellow bold
frag = magenta bold
old = red bold
new = green bold
[color "status"]
added = yellow
changed = green
untracked = cyan
[alias]
prod = checkout production
stag = checkout staging
st = status
ci = commit
br = branch
df = diff
lg = log -p
co = checkout
plog = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
tree = log --graph --pretty=oneline --decorate
pom = push origin master
amend = commit --amend -C HEAD
find = grep -n
g = grep --break --heading --line-number
lm = log --pretty=format:'%Cred%h%Creset %C(bold blue)<%an>%Creset -%C(yellow)%d%Creset %C(bold cyan)%s %Cgreen(%cr)%n%Creset%n - %b%n' --abbrev-commit --date=relative --merges
[apply]
whitespace = fix
[rebase]
autosquash = true
[push]
default = simple
[grep]
extendRegexp = true
lineNumber = true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment