...
Si crea un nuovo branch ad hoc a partire da testing. Come nome del branch scegliere un nome che sia significativo con la modifica che si sta facendo:
| Code Block |
|---|
$ cd ~/Workdir/puppet_epoxy/ $ git checkout testing Switched to branch 'testing' Your branch is up to date with 'origin/testing'. $ git pull |
...
Already up to date. |
...
$ git checkout -b <nome-del-branch> |
Fare le modifiche del caso e poi committare e pushare:
| Code Block |
|---|
git add .
git commit -m "Your detailed description of your changes."
git push origin <nome-del-branch> |
Se serve usare
...
la cloud di test per testare questi sviluppi
...
per prima cosa si avvertono tutti (chiedendo che nessuno committi in testing se non strettamente necessario)
...
Poi si mette in /var/puppet/puppet_epoxy_env_test di cld-config quanto sta ne branch
...
di sviluppo
Occhio che se qualcuno nel frattempo committa in testing, il contenuto di /var/puppet/puppet_epoxy_env_test sara' automaticamente sincronizzato con il branch testing
Messa in produzione di una nuova funzionalita'/bug fixing
...