git-fetch: --prune doesn't delete local branches (#1237)
`git fetch --prune` deletes the local *references* to upstream branches (i.e. entries in `.git/refs/remotes/`), but the local *branches* that tracked them (i.e. entries in `.git/refs/heads/`) are kept.
This commit is contained in:
@@ -18,6 +18,6 @@
|
||||
|
||||
`git fetch --tags`
|
||||
|
||||
- Delete local remote-tracking branches that have been deleted upstream:
|
||||
- Delete local references to remote branches that have been deleted upstream:
|
||||
|
||||
`git fetch --prune`
|
||||
|
Reference in New Issue
Block a user