lite
lite copied to clipboard
--target branch doesn't work as expected
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
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.
it creates a .git/heads/test-splitsh instead of .git/refs/heads/test-splitsh
It's a little bit confusing but it works running : `splitsh-lite --prefix inc/library --target refs/heads/test-splitsh --progress --debug