##Contributing Code
###Fork The Code
we assume you already have a clone of
https://github.com/opencrowbar/core
- create a personal fork of the
https://github.com/opencrowbar/core
1. Fork the code if you want to be able to submit changes 1. You may want to rename your fork in Github to something like 'crowbar-core' to make it easier to track. We'll assume that you did that in these directions - setup your git identity (one time only)
1.
git config --global user.name "user.name"
1.git config --global user.email "email.address"
- add a personal remote:
git remote add personal
https://github.com/[yourgitnamehere]/[crowbar-core]` - you can check your remotes using
git remote -v
##To create a pull request
- make your change and commit it:
git commit -a -m "I cut and pasted this"
- get the latest code from origin:
git fetch
- sync your code into the trunk:
git rebase
- you may have to merge changes using
git add [file]= and =git rebase --continue--
- you may have to merge changes using
- run and pass all the BDD tests, [[link missing]]
- push your change to your personal repo in a branch:
git push personal master:[my-pull-request-branch]
- from your Github fork UI, create a pull request from my-pull-request-branch