Skip to content

Instantly share code, notes, and snippets.

@Alanaktion
Last active September 16, 2019 15:04
Show Gist options
  • Save Alanaktion/0137bfda6e182e9ce4652ae71e7ff236 to your computer and use it in GitHub Desktop.
Save Alanaktion/0137bfda6e182e9ce4652ae71e7ff236 to your computer and use it in GitHub Desktop.
Global Git config
[user]
name = Alan Hardman
email = alanaktion@gmail.com
signingkey = 27A79A65774B4AF0
[push]
default = simple
[alias]
ignored = !git ls-files -v | grep ^[[:lower:]]
sync = !sh -c 'git pull --no-edit && git push'
st = status
d = diff --color-words
dw = diff --word-diff
c = commit
ch = checkout
co = checkout -b
l = log
ll = log -p
lod = log --oneline --decorate
lgraph = log --oneline --decorate --graph
b = branch
pom = push origin master
yolo = !git commit -m \"$(curl -s http://whatthecommit.com/index.txt )\"
gcall = "!find . -maxdepth 1 -type d \\( ! -name . \\) -exec bash -c \"cd '{}' && git gc\" \\;"
[diff]
algorithm = histogram
guitool = meld
tool = meld
[color]
diff = auto
branch = auto
interactive = auto
status = auto
[core]
mergeoptions = --no-edit
quotepath = false
excludesfile = /home/alan/.gitignore_global
[rerere]
enabled = true
[merge]
tool = meld
[gc]
autoDetach = false
[difftool "meld"]
cmd = meld \"$LOCAL\" \"$REMOTE\"
.vscode
.codelite
*.swp
.tags
*.phprj
*.workspace
*.DS_Store
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment