This won’t be our end game solution but it will work. To your surprise (or maybe not surprise) you might have dozens or even hundreds of old or unused branches.Ĭreating a 1 Liner to Clean Up Old Local Branches If you executed the above bullet points and locally ran git checkout main & git pull you would get the latest merged in changes but your local PR branch is still lingering around. In the end your remote repo doesn’t build up any branch cruft because chances are you configured your remote git service of choice to delete the PR branch after it’s been merged.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |