Working with features

start:feature - Start new feature

Make sure you are in the develop branch

git checkout develop

Run:

cells start [--targetBranch feature --branchName feature/tutorial]
[14:23:42] Execution contexts: [ recipe, develop ]
[14:23:42] Starting flow: [ start ], steps: [ start, setVersion, push ]
...

If targetBranch parameter is not set Gluon will ask:

? What do you want to start? (Use arrow keys)
❯ new feature
  new release
  new master merger

If branchName parameter is not set, you will be asked for the name you want to give the branch:

? Write the name of the new feature (feature/ is already appended) tutorial (better without spaces)

Once the execution is finished check that you are in the branch that you just created:

➜ pisco-git git: (feature / tutorial) git branch -l
  Develop
* Feature / tutorial
  Master

Conclusions:

finish:feature - Code delivery from feature to develop

Make sure you are on a feature branch

git checkout feature/tutorial

Run:

cells finish
[14:24:52] Execution contexts: [ recipe, feature ]
[14:24:52] Starting flow: [ finish ], steps: [ merge, validate, setVersion, finish, publish ]
....

Conclusions:

Common Problems:

[See the section resolving conflicts using the git command line] (#-gitresolve-resolve-conflicts-using-line-of-git-command)

Solve the tests so they do not give error.