Skip to content

Instantly share code, notes, and snippets.

@juliend2
Created September 26, 2017 20:12
Show Gist options
  • Save juliend2/d61b2520a9804d007bbe174e17f73543 to your computer and use it in GitHub Desktop.
Save juliend2/d61b2520a9804d007bbe174e17f73543 to your computer and use it in GitHub Desktop.
Git config of a lazy man
[alias]
c = clone
cp = cherry-pick
ci = commit
ca = commit --amend
cma = commit -a -m
s = status
d = diff
ds = diff --staged
a = add
b = branch
l = log
long = log --pretty=full
p = push
co = checkout
lol = log --pretty=oneline --abbrev-commit --graph --decorate
gr = grep -n --color=always
h = help
tags = tag -l -n1
[user]
name = Julien Desrosiers
email = juliend2@gmail.com
[core]
excludesfile = /Users/juliendesrosiers/.gitignore_global
whitespace = trailing-space
[heroku]
account = personal
[color]
ui = true
[push]
default = simple
[color "diff-highlight"]
oldNormal = red bold
oldHighlight = red bold 52
newNormal = green bold
newHighlight = green bold 22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment