dépôts
/
lhc
/
ateliers.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Modification : vm_remote : rule_git_configure : stockage du dépôt distant dans notre...
[lhc/ateliers.git]
/
vm_remote
diff --git
a/vm_remote
b/vm_remote
index
57a3e96
..
0fa0165
100755
(executable)
--- a/
vm_remote
+++ b/
vm_remote
@@
-27,10
+27,10
@@
rule_git_configure () { # DESCRIPTION: configure ./.git correctement
(
cd "$tool"
git remote rm host || true
(
cd "$tool"
git remote rm host || true
- git remote add host $vm_host:
tool
/vm
+ git remote add host $vm_host:
src
/vm
git config --replace remote.host.push HEAD:refs/remotes/master
git remote rm hosted || true
git config --replace remote.host.push HEAD:refs/remotes/master
git remote rm hosted || true
- git remote add hosted
root@$vm_fqdn:tool
/vm
+ git remote add hosted
$vm_fqdn:src
/vm
git config --replace remote.hosted.push HEAD:refs/remotes/master
git submodule update --init
)
git config --replace remote.hosted.push HEAD:refs/remotes/master
git submodule update --init
)