Skip to content

Latest commit

 

History

History
42 lines (29 loc) · 1.59 KB

CONVENTIONS.md

File metadata and controls

42 lines (29 loc) · 1.59 KB

Elovalo project conventions

Git usage conventions

This short guidance is heavily affected by this writing. Read it for details.

Branches

Branches can be divided into two categories: public and private

  • Public branches: master branch and all kind of feature branches
  • Public branches must be as linear and immutable as possible.
  • The commits may not cause build breaks.
  • Private branches: developer branches for daily work
  • There should be no need to have private branches in elovalo repository. Developers should keep their private branches in forked repositories in Github.
  • However, if one pushes his private branch into repository, its name must start with "developer nick" + '_'

Merging

Github "pull requests" are not used internally in the project.

Before merging commits from private branch to public branch, a convoluted commit tree should be cleaned e.g. with this command:

git rebase --interactive master

The final merge to public branch should then be a fast-forward merge.

Releasing

Separate release branches are not used. Code releases are just tagged in the master branch.

Coding conventions