diff --git a/gitsync.sh b/gitsync.sh index 10264bb..67a0945 100755 --- a/gitsync.sh +++ b/gitsync.sh @@ -16,6 +16,9 @@ git fetch origin git checkout master git merge origin/master -git push github -git push bitbucket +for repo in $(git remote -v | grep -v origin | grep "(push)" | awk '{print $1}') +do + echo "Updating ${repo} ..." + git push ${repo} +done -- libgit2 0.21.2