Created
June 2, 2018 09:02
-
-
Save hdorgeval/19e14fe8af1e0d7391e61a93e6d483c8 to your computer and use it in GitHub Desktop.
Contribute on inikulin/publish-please from me/publish-please
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let's suppose you are a github user registered as https://github.com/me | |
fork publish-please from inikulin/publish-please | |
git clone https://github.com/me/publish-please.git | |
cd publish-please | |
git remote add upstream https://github.com/inikulin/publish-please.git | |
git fetch upstream | |
git branch --set-upstream-to=upstream/master master | |
-> Branch 'master' set up to track remote branch 'master' from 'upstream'. | |
git checkout -b pr/issue#NN | |
-> where NN is the issue number on inikulin/publish-please | |
npm install | |
npm test | |
npm run build | |
npm run package | |
... do your work | |
then commit locally | |
git push origin pr/issue#60 | |
git push --set-upstream origin pr/issue#60 | |
-> Branch 'pr/issue#60' set up to track remote branch 'pr/issue#60' from 'origin'. | |
Everything up-to-date | |
Create the Pull Request |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment