0

git remote prune [remoteName] is a very handy command that will prune local tracking branches that are no longer on the remote server. However, is there a way I can also get git to prune the associated local branches at the same time? So, if it pruned origin/feature1 and origin/feature2, how can I get it to prune feature1 and feature2 at the same time?

Jez
  • 27,951
  • 32
  • 136
  • 233

1 Answers1

0

I think that your question has already been answered in this comment here: What are the differences between git remote prune, git prune, git fetch --prune, etc

Stout01
  • 1,116
  • 1
  • 10
  • 20