Differences
This shows you the differences between two versions of the page.
| git_pruning [2019/03/08 10:02] – created rpjday | git_pruning [2019/04/04 01:59] (current) – [Fetching and pruning] rpjday | ||
|---|---|---|---|
| Line 6: | Line 6: | ||
| ==== Fetching and pruning ==== | ==== Fetching and pruning ==== | ||
| + | |||
| + | At one time, I had a couple dead remote tracking branches: | ||
| < | < | ||
| Line 13: | Line 15: | ||
| origin/ | origin/ | ||
| origin/ | origin/ | ||
| + | </ | ||
| + | |||
| + | On the next fetch, if the upstream branches no longer existed, delete the tracking branches: | ||
| + | |||
| + | < | ||
| $ git fetch --prune | $ git fetch --prune | ||
| From https:// | From https:// | ||