X-Git-Url: https://git.cyclocoop.org/?a=blobdiff_plain;f=remote%2Fgit-configure;h=5a334f696c8d0876a17e2baaba8e1acbe7fd76bc;hb=d136fd6b3dc6d9c66c99544f50ac4dea4e353f32;hp=0601208a780615a36bd011a1b36a418b56868e2d;hpb=0d705d8e2a919ee40866307aa3e18b1a5c4e7583;p=lhc%2Fateliers.git 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