Skip to content

Instantly share code, notes, and snippets.

@duvillierA
Last active December 24, 2015 05:49
Show Gist options
  • Save duvillierA/6752731 to your computer and use it in GitHub Desktop.
Save duvillierA/6752731 to your computer and use it in GitHub Desktop.
.gitconfig
[user]
name = *
email = *@*.*
[alias]
st = status
ci = commit
pullr = pull --rebase
ciamen = commit --amend
# reset --soft HEAD^ suivi d’un commit classique…
cioops = commit --amend -C HEAD
# Récupérer le message d’origine, tel quel
# Ni vu ni connu, on croirait que t’avais tout bon du 1er coup
lg = log --graph --pretty=tformat:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%Creset %C(bold blue)<%an>%Creset'
diffi = diff --ignore-all-space
popl = stash pop stash@{0}
[core]
pager = cat
whitespace = -trailing-space
[color]
ui = auto
[diff "astextplain"]
mnemonicPrefix = true
wordRegex = .
[fetch]
recurseSubmodules = on-demand
[help]
format = html
[http]
sslCAinfo = /bin/curl-ca-bundle.crt
[log]
abbrevCommit = true
[merge]
conflictStyle = diff3
[mergetool]
keepBackup = false
keepTemporaries = false
prompt = false
[pack]
packSizeLimit = 2g
[pull]
# This is GREAT… when you know what you're doing and are careful
# not to pull --no-rebase over a local line containing a true merge.
# rebase = true
[push]
default = upstream
[sendemail]
smtpserver = /bin/msmtp.exe
[status]
submoduleSummary = true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment