-
Notifications
You must be signed in to change notification settings - Fork 53
Workflow
HU, Pili edited this page Aug 2, 2014
·
6 revisions
The most direct way to get your work merged into the project:
-
Fork the project
-
Clone your fork
git clone https://github.com/<yourName>/snsapi.git
-
Configure remote
git remote add upstream https://github.com/hupili/snsapi.git
-
Create a descriptively named branch, branch off from the develop branch, to contain your change
git checkout -b my_awesome_feature dev
-
Hack away
-
Stay updated
git fetch upstream git checkout git merge master git push origin
-
Rebase
git checkout my_awesome_feature git merge master
If necessary, rebase your commits into logical chunks, without bugs
-
Push the branch up to your own copy of fork
git push origin my_awesome_feature
-
Create an Pull Request with a description and link to your
my_awesome_feature
branch