Skip to content

Instantly share code, notes, and snippets.

@marciobarrios
Created March 6, 2017 18:17
Show Gist options
  • Save marciobarrios/1883ac6b0bb845da984456a279f3ccfc to your computer and use it in GitHub Desktop.
Save marciobarrios/1883ac6b0bb845da984456a279f3ccfc to your computer and use it in GitHub Desktop.
Git config (place in ~/.gitconfig)
[filter "lfs"]
required = true
clean = git-lfs clean %f
smudge = git-lfs smudge %f
[user]
name = Marcio Barrios
email = marcio.barrios@xing.com
[alias]
co = checkout
br = branch
ci = commit
st = status
last = log -1 HEAD
please = push --force-with-lease
commend = commit --amend --no-edit
stsh = stash --keep-index
staash = stash --include-untracked
staaash = stash --all
shorty = status --short --branch
grog = log --graph --abbrev-commit --decorate --all --format=format:\"%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(dim white) - %an%C(reset) %C(bold green)(%ar)%C(reset)%C(bold yellow)%d%C(reset)%n %C(white)%s%C(reset)\"
[core]
editor = atom-beta --wait
pager = diff-so-fancy | less --tabs=4 -RFX
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment