- create github repository: aldryn/project-{NAME}
- pick a folder and sync your project locally
cd
into the project- run
git remote add upstream [email protected]:aldryn/project-{NAME}.git
- run
git push upstream
- now you should see the data within your repository on GitHub
- create a master branch
git checkout -b master
git push upstream master
git checkout develop
git branch -d master
- now we have a master branch setup on remote, you don't need it locally!
- go to GitHub > Settings and choose "master" as your "Default branch"
- add the link to the aldryn site to the repos Website section (http://grab.by/Ifw8)
You need to run regularily git push upstream develop
in order to update
the GitHub repository. Once you are ready with your code, create a pull request
from develop to master and get a review.
You should ONLY deploy to live if all code has been reviewed.
The nice catch is, that you will also push changes from other members that are working on the project. So over longer distances all code gets reviewed.