Skip to content

Git Basics

Fenêtre de terminal
git init
Fenêtre de terminal
git clone https://github.com/utilisateur/projet.git
Fenêtre de terminal
git status
Fenêtre de terminal
git add file.txt
git add .
Fenêtre de terminal
git commit -m "Short Message"

  • Always check git status before committing.
  • Write explicit commit messages.
  • Commit often, but only with coherent changes.