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

--target branch doesn't work as expected #31

Open
benito103e opened this issue Jun 28, 2017 · 3 comments
Open

--target branch doesn't work as expected #31

benito103e opened this issue Jun 28, 2017 · 3 comments

Comments

@benito103e
Copy link

I don't find the way, to automatically put the commit on a branch.

If "test-splitsh" doesn't exist

# does not create the branch
splitsh-lite --prefix inc/library --target=heads/test-splitsh --progress
# The target is not a valid Git reference
splitsh-lite --prefix inc/library --target=test-splitsh --progress

If "test-splitsh" exist

# does not update the branch
splitsh-lite --prefix inc/library --target=heads/test-splitsh --progress
# The target is not a valid Git reference
splitsh-lite --prefix inc/library --target=test-splitsh --progress
@benito103e
Copy link
Author

For clarification: the first time I executed the command :
splitsh-lite --prefix inc/library --target=heads/test-splitsh --progress
the branch was created.

But since then, impossible to replicate this operation.

@benito103e
Copy link
Author

it creates a .git/heads/test-splitsh instead of .git/refs/heads/test-splitsh

@benito103e
Copy link
Author

It's a little bit confusing but it works running :
`splitsh-lite --prefix inc/library --target refs/heads/test-splitsh --progress --debug

@benito103e benito103e changed the title --target branch doesn't work --target branch doesn't work as expected Jun 28, 2017
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