Open xobust opened 8 years ago
We should work on separate branches right? What kind of branches should we have?
We should also review each others' code before merging with master.
The master branch should only be used for stable code, and there should be some kind of checks before we can merge into the master branch.
All work should be done in a work branch or separate feature branches
What name conventions should we use? @xobust @iRobsc I'm thinking maybe something like:
feature/{name}
for new featuresfix/{name}
for fixing bugfixesupdate/{name}
when updating or refactoring a piece of codeIn the above, {name}
should be 2 or 3 words that describes the work.
Should we indicate whether the branch relates to the website or the game in someway? Like
web/feature/{name}
game/feature/{name}
I'm not sure if we should separate the web part and the game part
The commits should always follow this style: http://chris.beams.io/posts/git-commit/
@macaullyjames I'm totally confused about branches, do you have any suggestions for naming them?
Please, I have an opinion for everything. There's a "standard" branching model called "git flow" that you can read about here. I would use a stripped down version of that:
master
master
master
Small, short lived branches like this are called feature branches. The name isn't all that important, just call them something descriptive :)
I'd recommend you formalise whatever you decide here in a CONTRIBUTING.md
file in the root of the repo 👌
Working on that right now!
Lets discuss our workflow on this project