Created
January 28, 2021 18:36
-
-
Save jbrzozoski/48bbd2a4503bba301c2231322b411c87 to your computer and use it in GitHub Desktop.
My gitconfig template to make setting up new linux machines a little quicker
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 = Set Name | |
email = set.email@example.com | |
[branch] | |
autosetuprebase = always | |
[core] | |
autocrlf = input | |
editor = nano | |
excludesfile = ~/.gitignore | |
[branch] | |
autosetuprebase = always | |
[merge] | |
conflictstyle = diff3 | |
[alias] | |
conflicts = diff --name-only --diff-filter=U | |
lsb = branch -vv | |
lg = log --graph --pretty=format:\"%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset\" --abbrev-commit --date=relative | |
lf = log --format="" --name-only | |
[push] | |
default = simple | |
[pull] | |
ff = only | |
[rerere] | |
enabled = true | |
[credential] | |
helper = cache |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment