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
  • 38,399
  • 19
  • 91
  • 131

1 Answers1

2

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

EncryptedWatermelon
  • 3,805
  • 1
  • 11
  • 27