-
-
Notifications
You must be signed in to change notification settings - Fork 157
DeveloperHowto
boyska edited this page Aug 19, 2011
·
4 revisions
Create a github account, then fork https://github.com/dyne/Tomb. You can now start doing commits and pull requests. Don't know git? You can read ProGit book; there are many other books/tutorials on the web, choose what you like most
Official codebase lives at git://github.com/dyne/Tomb.git
so when you '''pull''' you have to use '''git pull --rebase'''.
We strongly suggest you to define the following alias:
$ git config --global alias.up "pull --rebase"
Some guidelines:
- different things in different branches
- when you're done, do
git rebase dyne/master my_feature_branch
; then, open a pull request - usually, your feature branch should start from dyne/master. There can be exceptions, though.
Some suggestions to work tidier:
- always keep your master the same as dyne/master: you can "fast forward" it using
git remote update; git pull dyne master
, then. - create feature branches with
git branch feature_foo dyne/master
; you can "publish" them on github usinggit push origin feature_foo