update split repositories

This commit is contained in:
KHOUBZA Younes
2021-05-02 14:46:17 +00:00
parent 66f84f2fed
commit 8ebdd1bd64
+1 -1
View File
@@ -7,7 +7,7 @@ CURRENT_BRANCH="main"
function split()
{
git merge --strategy recursive --strategy-option subtree="$1" "$2/$CURRENT_BRANCH" --allow-unrelated-histories -m "Merge remote-tracking branch '$2/$CURRENT_BRANCH'"
# git merge --strategy recursive --strategy-option subtree="$1" "$2/$CURRENT_BRANCH" --allow-unrelated-histories -m "Merge remote-tracking branch '$2/$CURRENT_BRANCH'"
SHA1=$(./bin/splitsh-lite --prefix="$1")
git push $2 "$SHA1:refs/heads/$CURRENT_BRANCH" -f
}