Contributing - xamoom/xamoom-ios-sdk GitHub Wiki
If you're a developer who wants to work on the xamoom-ios-sdk source code and submit your changes for consideration to be merged into the master branch, here's how.
Thanks to "RestKit" for their developer guide, which was the basis for ours.
Step-by-step
- Fork on GitHub (click Fork button)
- Clone to computer
git clone [email protected]:you/xamoom-ios-sdk.git
- Set up remote upstream
git remote add upstream git://github.com/xamoom/xamoom-ios-sdk.git
- Create a branch for new issue based on the dev branch
git checkout -b 100-new-feature development
, if you don't have a bug report no worries just skip the number - Develop on issue branch.
- Commit changes to issue branch.
git add . ; git commit -m 'commit message'
- Fetch upstream
git fetch upstream
- Update local master
git checkout master; git pull upstream master
- Repeat steps 6–9 till dev is complete
- Rebase issue branch
git checkout 100-new-feature; git rebase master
- Push branch to GitHub
$ git push origin 100-new-feature
- Issue pull request Click Pull Request button