Git command line basics

you can add your modified files to the stage (index) using:

git add <filename>


git add *

Now your new/modified files are on the stage. If you want to store these files into the repository, you have to commit the changes using

git commit -m "commit message"

To upload the changes to the “master” branch on the original repository:

git push origin master

Marco Mengoli

Marco Mengoli
Software Engineering student at University of Bologna. I love to solve problems and experiment new things. I'm an enthusiast maker, I love to make lots of projects with my Iot boards. I found on electronics a new really enjoyable hobby. My favourite thematic is Software Engineering, in particular the continuous improvement of the quality of the products I develop and also the way I do it. View more in the About page