$ cd ~/Sites
$ git clone [email protected]:project-github-account/Project.git
- http://httpd.apache.org/docs/current/vhosts/examples.html
- https://www.digitalocean.com/community/articles/how-to-set-up-nginx-virtual-hosts-server-blocks-on-ubuntu-12-04-lts--3
- Point document root to /Project/public
- Create feature branches, issue pull requests to merge them.
- Rebase master into your feature branches often.
$ git pull --rebase origin master
$ git checkout -b my-new-feature
...work work work
$ git co master
$ git pull --rebase origin master (update master with latest)
$ git checkout my-new-feature
$ git rebase master (rebase master onto your feature branch)
(resolve conflicts if any)
$ git push origin my-new-feature
(create a pull request for your branch)