Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
lixtra
· 6y ago · 0 comments
> # Remove all local branches for which there is no remote
The
merged branches
part is missing.
Comments
[–]
vikin9
6y ago
I setup Github repos to automatically delete merged branches - in this case, the remote counterpart will be gone. There might be just the following missing to sync remove `origin/*` branches locally: `git fetch --prune`
[–]
lixtra
OP
6y ago
Your newly created local branch might be gone as well.