Skip to content
HU, Pili edited this page Aug 2, 2014 · 6 revisions

The most direct way to get your work merged into the project:

  1. Fork the project

  2. Clone your fork

     git clone https://github.com/<yourName>/snsapi.git
    
  3. Configure remote

     git remote add upstream https://github.com/hupili/snsapi.git
    
  4. Create a descriptively named branch, branch off from the develop branch, to contain your change

     git checkout -b my_awesome_feature dev
    
  5. Hack away

  6. Stay updated

     git fetch upstream
     git checkout
     git merge master
     git push origin 
    
  7. Rebase

     git checkout my_awesome_feature
     git merge master
    

    If necessary, rebase your commits into logical chunks, without bugs

  8. Push the branch up to your own copy of fork

     git push origin my_awesome_feature
    
  9. Create an Pull Request with a description and link to your my_awesome_featurebranch

Reference

Clone this wiki locally