Closed RobertImbrie closed 2 years ago
That's very strange. Those commands work fine for me if I am in the SKLL working copy. You get the error when running the git checkout -b
command?
I get the error when using git push feature/my-new-addition
, where my-new-addition
is the new branch. I've added a link to a screenshot here.
Oh I see. Yeah, that's definitely outdated. It should be replaced with git push -u origin feature/my-new-addition
.
Great! I'll make the changes in CONTRIBUTING.md
and do a pull request.
CONTRIBUTING.md gives the following commands for pushing to a new branch, which can be found in steps 7-10:
Whenever I follow those steps, I am given the error EDIT: when using
git push feature/my-new-addition
:This error occurs for both my fork and the main repository. It has been an issue since I started contributing to skll.
In the past, I circumvented the issue on my fork by using
git push origin feature/my-new-addition
instead. However, now that I'm using the main repository, I want to make sure I'm doing it the right way. What's the proper way to push a branch and can I update CONTRIBUTING.md to match that?