Last active
March 4, 2024 23:12
-
-
Save FabienSalles/b25a523a8d903e6b8ed303f18871671f to your computer and use it in GitHub Desktop.
Simple Git Config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[user] | |
name = ton_nom | |
email = [email protected] | |
[color] | |
ui = true | |
diff = auto | |
status = auto | |
branch = auto | |
interactive = auto | |
[alias] | |
lg = log --graph --pretty=tformat:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%an %cr)%Creset' --abbrev-commit --date=relative | |
last = log -1 | |
wdiff = diff --color-words | |
[core] | |
excludesfile = ~/.gitignore_global | |
editor = nano | |
# Sous Windows ? Désolé... Utilisons Notepad++… | |
# editor = 'C:/Program Files/Notepad++/notepad++.exe' -multiInst -notabbar -nosession -noPlugin | |
[includeIf "gitdir:~/projects/github/"] | |
path = .gitconfig-github | |
[credential] | |
helper = cache --timeout=360000 | |
[pull] | |
rebase = true | |
[push] | |
default = simple | |
[diff] | |
wordRegex = . |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment