Git how to - DaoCasino/Documentation GitHub Wiki
Clone dc-monorepo and start vscode
$ git clone -b development https://github.com/DaoCasino/dc-monorepo.git
$ cd dc-monorepo
$ code .
Сreate your features
$ git checkout -b [nick]-my-cool-feat
... write your code
$ git add .
$ git commit -m "commit message"
^ [nick] - Your nick in github.
Commit message format
feat: add hat wobble
^--^ ^------------^
| |
| +-> Summary in present tense.
|
+-------> Type: chore, docs, feat, fix, refactor, style, or test.
More examples
chore: add Oyster build script
docs: explain hat wobble
feat: add beta sequence
fix: remove broken confirmation message
refactor: share logic between 4d3d3d3 and flarhgunnstow
style: convert tabs to spaces
test: ensure Tayne retains clothing
Deploy to branch "development"
In you branch "my-cool-feat"
$ git pull origin development
... solve conflicts if exists
$ git push origin my-cool-feat
$ git checkout development
$ git pull origin my-cool-feat
... no conflicts :)
$ git push origin development
Removing your branch from dc-monorepo
if you don't need a branch anymore
$ git push origin --delete my-cool-feat