From 3af05c1fa7601e09ba8ebcc83ec25e4ac2730be1 Mon Sep 17 00:00:00 2001 From: Perry Werneck Date: Tue, 28 Aug 2018 09:19:04 -0300 Subject: [PATCH] Criando sync com repositório bitbucket. --- gitsync.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+), 0 deletions(-) create mode 100755 gitsync.sh 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