-
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 mastergit pull upstream master - Push your synced
masterbranch to your fork:git push origin master - Sync your
developbranch with upstream:git checkout developgit pull upstream develop - Push your synced
developbranch to your fork:git push origin develop
- Sync your
developbranch then create a new branch:git checkout developgit pull upstream developgit checkout -b feature-blablabla - When you finish push your commits to your fork:
git checkout feature-blablablagit push origin feature-blablabla - Finally go to your fork on Github and create a pull request.