Guest User

Untitled

a guest
Jul 18th, 2018
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. git remote prune origin (removes local references to remotes that have been removed)
  2. git branch -vv | grep 'origin/.*: gone]' | awk '{print $1}' | xargs git branch -d (removes all local branches with references to removed remotes, best to run without "| xargs git branch -d" first)
Add Comment
Please, Sign In to add comment