-
Notifications
You must be signed in to change notification settings - Fork 4
Git Workflow
Rubens Mariuzzo edited this page Jan 2, 2014
·
2 revisions
-
Fork the main repository: https://github.com/mariuzzo/jquery-input-navigation.git
-
Clone your fork:
git clone https://github.com/mariuzzo/jquery-input-navigation.git -
Add upstream repository to have your repo synced with latest updates:
git remote add upstream https://github.com/mariuzzo/jquery-input-navigation.git -
Sync your
masterbranch with upstream:git checkout master git pull upstream master -
Push your synced
masterbranch to your fork:git push origin master -
Sync your
developbranch with upstream:git checkout develop git pull upstream develop -
Push your synced
developbranch to your fork:git push origin develop
-
Sync your
developbranch then create a new branch:git checkout develop git pull upstream develop git checkout -b feature-blablabla -
When you finish push your commits to your fork:
git checkout feature-blablabla git push origin feature-blablabla -
Finally go to your fork on GitHub and create a pull request.