Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding and then re-splitting #53

Open
cangencer opened this issue Jan 12, 2020 · 1 comment
Open

Adding and then re-splitting #53

cangencer opened this issue Jan 12, 2020 · 1 comment

Comments

@cangencer
Copy link

cangencer commented Jan 12, 2020

When I create a monorepo by combining multiple repositories using git subtree add --prefix=.. and then re-split the prefix using splish-lite --prefix= it creates only one commit in the branch, which is the merge commit created by git subtree add --prefix= and all other history is lost. When I use git subtree split --prefix= that preserves the history. Am I getting something wrong? Maybe it's because git subtree add creates a merge commit and splitsh-lite ignores it?

@anicolaides
Copy link

Have you found a workaround yet? I've been struggling with this issue as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants