gitsync.sh 218 Bytes Edit Raw Blame History 1 2 3 4 5 6 7 8 9 10 11 12 #!/bin/bash # # https://help.github.com/articles/syncing-a-fork/ # # https://help.github.com/articles/configuring-a-remote-for-a-fork/ git fetch origin git checkout master git merge origin/master git push bitbucket