sync-fork
sync-fork copied to clipboard
add a option to sync also all branchs
like this or so: for branch in $(git ls-remote --heads upstream|sed 's#^.*refs/heads/##'); do git push origin refs/remotes/upstream/$branch:refs/heads/$branch; done
https://gist.github.com/CristinaSolana/1885435#gistcomment-2652385