Skip to content

Instantly share code, notes, and snippets.

@thomaslorentsen
Created October 26, 2018 09:20
Show Gist options
  • Save thomaslorentsen/5f55747e06f804c117c3421653158f33 to your computer and use it in GitHub Desktop.
Save thomaslorentsen/5f55747e06f804c117c3421653158f33 to your computer and use it in GitHub Desktop.
Git Config
[core]
excludesfile = ~/.gitignore_global
editor = nano
[user]
email =
name =
signingkey =
[color]
ui = true
[commit]
gpgsign = true
[push]
default = current
[pull]
rebase = true
[alias]
co = checkout
br = branch
ci = commit
ls = log --graph --all --format=format:'%C(blue)%h%C(reset) %C(green)(%aD)%C(reset)%C(bold yellow)%d%C(reset) %C(white)%s%C(reset) %C(bold white) - %an%C(reset)' --abbrev-commit --date=local
st = status
unstage = reset HEAD --
last = log -1 HEAD
stree = "!stree"
df = diff
dfs = diff --staged
dft = difftool
dfts = difftool --staged
amend = commit --amend -C HEAD
[color]
branch = true
diff = true
grep = true
interactive = true
pager = true
showbranch = true
status = true
ui = true
[i18n]
commitEncoding = UTF-8
logOutputEncoding = UTF-8
[http]
sslVerify = false
.idea/
*.iml
*.retry
.DS_Store
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment