I have one error using git on Sourcetree. I've created a local branch called sprints/Mycompany_sprint_1 (because I want it in a category) and then I did multiple cherry picks to this branch from another one. After that, I tried to push all the changes on my branch, but I am receiving next error:
The Remote branch '' (Local branch = 'sprints/Mycompany_sprint-1') is invalid. Ref names must follow git ref-format rules: https://www.kernel.org/pub/software/scm/git/docs/git-check-ref-format.html Completed with errors, see above.
But if I go to the link, I am following (as far I saw) all the rules, because looking at the first rule:
They can include slash / for hierarchical (directory) grouping, but no slash-separated component can begin with a dot . or end with the sequence .lock.
I check if the problem could be that the spring category already exists, but is not the case.
Can anyone tell me what I am doing wrong, please? I'm affraid that cannot see the error here...
This seems to be a bug affecting SourceTree for Windows version 3.3.4: https://jira.atlassian.com/browse/SRCTREEWIN-12593
A workaround until the bug is fixed is to untick and retick the branch checkbox in the push dialog.