-
Notifications
You must be signed in to change notification settings - Fork 555
docs: Add CONTRIBUTING.md file link it to README.md #730
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
Conversation
|
This is my first pull request so please let me know if I have done something incorrectly |
|
Hi, thanks for the PR. We'll review it shortly, for now, please rename the markdown file to |
|
@addiegupta Please squash the commits. One PR should have one commit only. |
|
Squashing comes after changes are accepted, or else it becomes difficult for the contributor to squash, do change, and repeat |
CONTRIBUTING.md
Outdated
|
|
||
| You’ll now have a local copy of your version of that repository. | ||
|
|
||
| *For further details on how to contribute as a first time contributer visit [Contribute to someone's repository](http://kbroman.org/github_tutorial/pages/fork.html)* |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
External links are not recommended as they can be deleted later.
CONTRIBUTING.md
Outdated
|
|
||
| #### Add a connection to the original owner’s repository. | ||
|
|
||
| `$ git remote add foss_remote git://github.com/fossasia/open-event-android` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| `$ git remote add foss_remote git://github.com/fossasia/open-event-android` | |
| `$ git remote add upstream git@github.com:fossasia/open-event-android` |
CONTRIBUTING.md
Outdated
|
|
||
| `$ git remote add foss_remote git://github.com/fossasia/open-event-android` | ||
|
|
||
| Note the distinction between git@github.com: in the first case and git://github.com/ in the second case. I’m not sure why these need to be the way they are, but that’s what works for me. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove, because both will work. The first syntax is just doing via SSH. Also, I'd recommend to change both commands to HTTPS versions as that's what will work for beginners who might not have added their SSH keys to Github
CONTRIBUTING.md
Outdated
|
|
||
| Also note 'foss_remote' does not need to be specific. You could very well choose: | ||
|
|
||
| `$ git remote add repo_nickname git://github.com/fossasia/open-event-android` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since, we are not teaching git here, we can skip details and just give instructions
CONTRIBUTING.md
Outdated
|
|
||
| error: failed to push some refs to 'git@github.com:username/the_repo' | ||
|
|
||
| Then try `git push origin HEAD:gh-pages` (see stackoverflow.). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a misleading command
CONTRIBUTING.md
Outdated
|
|
||
| Go into the directory for the project and type: | ||
|
|
||
| `$ git pull foss_remote master` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
First checkout to development
CONTRIBUTING.md
Outdated
|
|
||
| Go into the directory for the project and type: | ||
|
|
||
| `$ git pull foss_remote master` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| `$ git pull foss_remote master` | |
| `$ git pull upstream development --rebase |
CONTRIBUTING.md
Outdated
|
|
||
| Now push them back to your github repository. | ||
|
|
||
| `$ git push` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Make them push a single branch to single remote
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the review! I am currently implementing these changes
7233730 to
ce1d71e
Compare
d4f788d to
2565391
Compare
2565391 to
887501b
Compare
|
I have updated the changes and updated the branch. Please have a look. |
Fixes #729
Changes: There is a section for First Time Contributors to read the ContributionHelp.md but there is no such file. I have added the file and created the required link in README.md
Screenshots for the change:
README.md: Before, without link
README.md: After, with link
ContributionHelp.md: New file