Skip to content

Latest commit

 

History

History
11 lines (10 loc) · 403 Bytes

README.md

File metadata and controls

11 lines (10 loc) · 403 Bytes

multi repos managed in branches.

#git checkout --orphan new_branch
git worktree add --orphan -b new_branch ../branch_dir
git branch -v
git push origin --all
git branch -r | grep -v '\->' | while read remote; do git branch --set-upstream-to=${remote} ${remote#*/}; done
#git branch -r | grep -v '\->' | while read remote; do git branch --track ${remote#*/} ${remote}; done
git pull --all