-
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
master
branch with upstream:git checkout master git pull upstream master
-
Push your synced
master
branch to your fork:git push origin master
-
Sync your
develop
branch with upstream:git checkout develop git pull upstream develop
-
Push your synced
develop
branch to your fork:git push origin develop
-
Sync your
develop
branch 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.