- Find a good, welcoming project i.e. here: http://up-for-grabs.net/#/
- Fork the GitHub repo (let's call it upstream repo from now on) to your local repositories: on GitHub, press the fork button. Now you have a copy of the source code
- Get the code down to your developer machine
- To obtain clone url, go to your repo's page on GitHub and click "clone or download"
- git clone https://github.com/vizmi/sequelize.git
- Now you have you nice, isolated copy of the original repo. Time to sync it up with the upstream repo
- Navigate to the original repo (there's a link to it under the project name)
- Get the clone url (click "clone or download")
- Set-Location .\sequelize\
- git remote -v show the currently configured remotes. Ideally you have 2, pointing to your own repo. We are about to add 2 more, with one single command
- remote add upstream https://github.com/sequelize/sequelize.git
- Time to sync the local repo to the upstream repo (to avoid merge conflicts later)
- git fetch upstream
- git checkout master
- git merge upstream/master
2017. július 9., vasárnap
How to contribute to github projects?
Just another "note to self" type entry about open source contribution.
Feliratkozás:
Megjegyzések küldése (Atom)
Nincsenek megjegyzések:
Megjegyzés küldése