git status
: status of current changes in repogit clone <URL>
: one time download from git rep to local machine
Changes:
-
git add <FILE>
: add the s to the staging area -
git commit <FILE>
commit changesgit commit -m "MESSAGE"
: creates the git message.
-
git push <FILE>
push changes to git- e.g.
git push origin main
which sends code from branch to origin.
- e.g.
-
git pull <where> <what>
: take remote commits on</what>
, and pull fromwhere
- e,g,
git pull origin main
- e,g,