1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-30 23:15:29 +02:00

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:
Waldir Pimenta 2017-01-15 10:49:13 +00:00 committed by GitHub
parent 3ad200b9d0
commit 5582e23e8a

View file

@ -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`