Skip to content

Incomplete 'push' instructions in CONTRIBUTING.md #680

@RobertImbrie

Description

@RobertImbrie

CONTRIBUTING.md gives the following commands for pushing to a new branch, which can be found in steps 7-10:

$ git checkout -b feature/my-new-addition
$ git add modified_files
$ git commit
$ nosetests
$ git push feature/my-new-addition

Whenever I follow those steps, I am given the error EDIT: when using git push feature/my-new-addition:

fatal: 'feature/my-new-addition' does not appear to be a git repository
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

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?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions