Advertisement
vedranvinko

update repos

May 22nd, 2020
1,423
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.14 KB | None | 0 0
  1. # When you create a new empty repo and need to push all
  2.  
  3. for remote in `git branch -r | grep -v master `; do git checkout --track $remote ; done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement