mirror of
https://github.com/php-flasher/php-flasher.git
synced 2026-03-31 15:07:47 +01:00
update split repositories
This commit is contained in:
+1
-1
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user