Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hdorgeval/19e14fe8af1e0d7391e61a93e6d483c8 to your computer and use it in GitHub Desktop.
Save hdorgeval/19e14fe8af1e0d7391e61a93e6d483c8 to your computer and use it in GitHub Desktop.
Contribute on inikulin/publish-please from me/publish-please
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