Skip to content
Rubens Mariuzzo edited this page Jan 2, 2014 · 2 revisions

First time setup

  1. Fork the main repository: https://github.com/mariuzzo/jquery-input-navigation.git

  2. Clone your fork:

     git clone https://github.com/mariuzzo/jquery-input-navigation.git
    
  3. Add upstream repository to have your repo synced with latest updates:

     git remote add upstream https://github.com/mariuzzo/jquery-input-navigation.git
    
  4. Sync your master branch with upstream:

     git checkout master
     git pull upstream master
    
  5. Push your synced master branch to your fork:

     git push origin master
    
  6. Sync your develop branch with upstream:

     git checkout develop
     git pull upstream develop
    
  7. Push your synced develop branch to your fork:

     git push origin develop
    

Working on a new feature

  1. Sync your develop branch then create a new branch:

     git checkout develop
     git pull upstream develop
     git checkout -b feature-blablabla
    
  2. When you finish push your commits to your fork:

     git checkout feature-blablabla
     git push origin feature-blablabla
    
  3. Finally go to your fork on GitHub and create a pull request.

Clone this wiki locally