Your first time?
- Head on over to github.com
- Create an account.
- Generate a public key.
- Get a copy of the repository:
- Move into the new directory:
- You're ready to go!
git clone email@example.com:trak3r/rss2twitter.git
Business as usual...
- Say you're assigned ticket 222.
- Make sure you have the latest code:
- Create a branch to work in (named after the ticket number):
- Switch to that branch:
- Make your changes (and write lots of tests).
- Add the file(s) you've changed:
- Make sure you didn't miss any:
- Commit often (it's cheap):
- All done? Make sure all the tests pass!
- Switch back to the "master" branch.
- Merge your branch:
- Publish your changes back to the central repository so everybody else can get them:
- You're done! (...as soon as you deploy to staging and assign the ticket back to the creator for validation.)
git branch 222
git checkout 222
git add somefile.rb
git commit -m "a clear but brief summary of the changes"
git checkout master
git merge 222