Git Basics
git init
- One time commando during the setup of a new repo. This create a new #branch in the current directory.
- Executing this command will create a new
.git
hidden subdirectory.
git add
- To promote or ‘stage’ changes that will be stored in a commit
git commit
git commit -a
- Solo quando aggiunto con add
- `git commit -m “commit message”
- Se non viene usato -m verra’ richiesto ugualmente il commneto
git commit -am "commit message"
- comando che riassume i due precedenti