In my workflow it is routine to delete branches on Github Pull Requests when they're merged. This leaves the local repo with local branches that have since lost its tracking branch. To clear this I have the following alias under .gitconfig
So whenever a bunch of my PR's have been merged I just run git prune-branches and it prunes the remote branch references but also deletes the corresponding local ones.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
In my workflow it is routine to delete branches on Github Pull Requests when they're merged. This leaves the local repo with local branches that have since lost its tracking branch. To clear this I have the following alias under
.gitconfig
So whenever a bunch of my PR's have been merged I just run
git prune-branches
and it prunes the remote branch references but also deletes the corresponding local ones.