Skip to content

Commit

Permalink
feat(gitconfig): add some helpful flags
Browse files Browse the repository at this point in the history
  • Loading branch information
xatier committed Feb 25, 2024
1 parent f775d03 commit dfcc434
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions gitconfig
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@
unstage = restore --staged
[blame]
coloring = repeatedLines
[branch]
sort = -committerdate
[color]
ui = auto
[commit]
Expand All @@ -39,12 +41,15 @@
[core]
attributesfile = /home/xatier/.gitattributes
excludesfile = ~/.gitignore
fsmonitor = true
pager = less -x1,5
preloadindex = yes
untrackedCache = true
[diff]
algorithm = histogram
[fetch]
prune = true
fsckobjects = true
[help]
autocorrect = 30
[merge]
Expand All @@ -56,10 +61,16 @@
[rebase]
autoStash = true
stat = true
[receive]
fsckObjects = true
[rerere]
enable = true
[stash]
showPatch = true
[status]
showUntrackedFiles = all
[transfer]
fsckobjects = true
[url "[email protected]:"]
insteadOf = https://github.com/
[user]
Expand Down

0 comments on commit dfcc434

Please sign in to comment.