commit:     f51b841b7bc3631bbc151b8531d350e416cd0ed2
Author:     NP-Hardass <NP-Hardass <AT> gentoo <DOT> org>
AuthorDate: Tue Sep 20 21:23:52 2016 +0000
Commit:     NP Hardass <np-hardass <AT> gentoo <DOT> org>
CommitDate: Tue Sep 20 21:31:49 2016 +0000
URL:        https://gitweb.gentoo.org/proj/gentoo-mate.git/commit/?id=f51b841b

scripts: init-repo-mirror update uri, remote handling

 scripts/init-repo-mirror | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/scripts/init-repo-mirror b/scripts/init-repo-mirror
index d2910d9..f6d5b91 100755
--- a/scripts/init-repo-mirror
+++ b/scripts/init-repo-mirror
@@ -47,5 +47,6 @@ fi
 
 if ${REMOTES}; then
        echo "Configuring Remotes"
-       git add remote github https://github.com/gentoo/gentoo-mate/ || die 
"Failed to configure remotes"
+       git remote remove github &>/dev/null
+       git remote add github g...@github.com:gentoo/gentoo-mate.git || die 
"Failed to configure remotes"
 fi

Reply via email to