readme: add golden commit rule

which i just broke but i guess this is an exception.
keep-around/fe5a62689191463e1cb2bbddbf1b60fa00d7e860
hexchen 2021-01-20 18:47:57 +00:00
parent 1a383c5ca4
commit fe5a626891
1 changed files with 2 additions and 0 deletions

View File

@ -21,6 +21,8 @@ nix build -f . deploy.$hostname && ./result switch
`$hostname` can be replaced with any hostname or group
## committing to haccfiles
- Golden Rule: DO NOT COMMIT TO MAIN
- exceptions apply, if you are not sure where to commit, don't commit to main
- split up commits, every commit is one atomic change
- e.g. no big "did some changes" but instead "updated service x", "updated service y", "update service z"
- follow the commit format: "$prefix$place: $change"