diff --git a/gitsync.sh b/gitsync.sh new file mode 100755 index 0000000..1ea8a45 --- /dev/null +++ b/gitsync.sh @@ -0,0 +1,14 @@ +#!/bin/bash +# +# https://help.github.com/articles/syncing-a-fork/ +# +# https://help.github.com/articles/configuring-a-remote-for-a-fork/ +# +# git remote add bitbucket https://bitbucket.org/pw3270/pw3270-sharp.git +# +git fetch origin +git checkout master +git merge origin/master + +git push bitbucket + -- libgit2 0.21.2