Git: lavorare con i branch, comandi essenziali
GIT, comandi basilari per lavorare correttamente con i branch git init inizializzo il repository git add * aggiungo tutti i file al repository git commit eseguo il commit Una volta che ho un repo in uno stato consistente posso usufruire dei branch: git checkout -b calcoloCategoria - Questo comando crea un branch che si chiama "calcoloCategoria" e lo attiva. Da ora in avanti lavoro nel nuovo branch. [ORA LAVORO NEL MIO NUOVO BRANCH] git status V isualizzo i file che sono stati modificati git add ... Aggiungo i file che desidero al commit git commit Eseguo il commit del branch git checkout master ...