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

Cannot migrate branches rather than master #1

Open
kutluhanmetin opened this issue Jan 12, 2021 · 0 comments
Open

Cannot migrate branches rather than master #1

kutluhanmetin opened this issue Jan 12, 2021 · 0 comments

Comments

@kutluhanmetin
Copy link

kutluhanmetin commented Jan 12, 2021

In the documentation it says:

So if the subrepo is foo.git and it contains a branch whatever, in the monorepo the SHA pointed to by the branch whatever in the original repo will now be pointed to by a branch named foo/whatever.

however it just migrates master branches.

Ex.
Source repository repo1 has branches: branch1, branch2, master
Source repository repo2 has branches: branch3, branch4, master
And something.repos includes repo1 and repo2

Actual behaviour:
After running ./build something.repos,
git branch -a prints:
master
repo1/master
repo2/master

Expected behaviour:
After running ./build something.repos,
git branch -a should print:
master
repo1/master
repo2/master
repo1/branch1
repo1/branch2
repo2/branch3
repo2/branch4

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

1 participant