- github.com: click Fork button
- git clone fork-git-url
- git remote add upstream parent-repo-url
- git checkout -b new-feature-branch
- git add .
- git commit -m “short yet descriptive message”
- git push origin new-feature-branch
- possibly git rebase
- github.com: click New pull request button
- git branch -d merged-feature-branch
- git push --delete origin merged-feature-branch
- git fetch upstream
- git checkout master
- git merge upstream/master
- git push origin master
- git pull upstream master
- git push origin master
{
"repositories": [
{
"type": “git",
"url": “fork-git-url"
}
],
"require": {
“parent/name": "dev-bugfix"
}
}