Skip to content

Commit

Permalink
[gitconfig] fetch now prunes (including tags)
Browse files Browse the repository at this point in the history
  • Loading branch information
missingcharacter committed Aug 22, 2024
1 parent dcb2f67 commit 83eff35
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions gitconfig
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,13 @@
; see: http://stackoverflow.com/questions/13148066/warning-push-default-is-unset-its-implicit-value-is-changing-in-git-2-0
default = simple
autoSetupRemote = true
[pull]
rebase = true
[init]
defaultBranch = main
[fetch]
prune = true
pruneTags = true
[core]
editor = vim
whitespace = fix,-indent-with-non-tab,trailing-space,cr-at-eol
Expand Down Expand Up @@ -103,7 +110,3 @@
br = branch
dc = diff --cached
pt = !git tag -l | xargs git tag -d && git fetch -t
[pull]
rebase = true
[init]
defaultBranch = main

0 comments on commit 83eff35

Please sign in to comment.