1.1.0 • Published 5 years ago
@ats-components/steps-irrigation v1.1.0
ats's react components
Create branch
git subtree add some-remote some-tag-or-branch --prefix=shared --squash
Frist command git:
git subtree split -P packages/{FOLDER_TO_SPLIT} -b {BRANCH_NAME}
use this git cmd's for mono-repo:
git merge --squash -s subtree --no-commit <BRANCH>
git merge --squash -s subtree --no-commit --allow-unrelated-histories <BRANCH>
Not use a merge, realy is a pull, becose both repos are same no need to merge it only pull
git pull -s subtree -Xsubtree=packages/stepsIrrigation/ origin <BRANCH>
FORCEDgit pull -s subtree --allow-unrelated-histories -Xsubtree=packages/stepsIrrigation/ origin <BRANCH>