X-Git-Url: https://git.cyclocoop.org/?p=lhc%2Fateliers.git;a=blobdiff_plain;f=remote%2Fgit-configure;h=5a334f696c8d0876a17e2baaba8e1acbe7fd76bc;hp=0601208a780615a36bd011a1b36a418b56868e2d;hb=8e632f43794c0db9d02a4e3df0ca2eaaac09def2;hpb=0d705d8e2a919ee40866307aa3e18b1a5c4e7583 diff --git a/remote/git-configure b/remote/git-configure index 0601208..5a334f6 100755 --- a/remote/git-configure +++ b/remote/git-configure @@ -3,9 +3,9 @@ tool=$(readlink -e "${0%/*}/..") . "$tool"/remote/lib.sh git remote rm host || true -git remote add host $local_host:src/vm +git remote add host $local_host:src/$local_hostname git config --replace remote.host.push HEAD:refs/remotes/master git remote rm local || true -git remote add local $local_fqdn:src/vm +git remote add local $local_ipv4:src/$local_hostname git config --replace remote.local.push HEAD:refs/remotes/master git submodule update --init