Which git branch are we working in?

6 views
Skip to first unread message

Ian Clarke

unread,
Jun 8, 2013, 11:15:11 AM6/8/13
to Kieran Donegan, Ravi Tejasvi, tahrir-de...@googlegroups.com
We should all be committing to the "master" branch unless you're working on some major new feature that is likely to break the codebase, in which case create a new branch for it, but merge it back into master when you're done.  This should be rarely if ever done at this stage of development.

It's also important to commit and push frequently otherwise it can cause merge conflicts to occur (when two people edit the same piece of code).  These conflicts aren't fun to resolve.

Lastly, I would strongly encourage all of us to try to follow a clean-code style, as described in this video (I've shared this before): http://www.youtube.com/watch?v=HZJxjlvBbVA

The codebase isn't currently in this style, but if we all commit to following the boy-scout rule ("always leave a campsite better than you found it"), then eventually we'll make progress towards it.

Ian.

--
Ian Clarke
Reply all
Reply to author
Forward
0 new messages