re: How to delete all your local branches but keep master VIEW POST

FULL DISCUSSION
 

Just make sure to back up everything first :P

git push --all {remote}

Oh man if I forgot to back up first...that would ruin so many things for me. We have a tendency to re-prioritize things so some branches are left half done for awhile, sometimes many months.

code of conduct - report abuse