1

With the command:

git config remote.origin.prune true

you can configure a repo to automatically prune on every pull request as per this question.

I always want this option to be set. Does anyone know a way to set this globally for all repos' remote origins or is the only option to perform it per repo?

Ray
  • 40,256
  • 21
  • 101
  • 138

1 Answers1

3

git config --global fetch.prune true will prune all repos

EncryptedWatermelon
  • 4,788
  • 1
  • 12
  • 28