Image credit: Swarthmore Computer Science
git
lets you:
git
is kind of like Google Docs.
git
is very manual.git
you need to be explicit about:
git
but it is sufficient for today.Clone the shared repository:
Copy your code to the cloned repository.
Create your own branch.
Add & commit your changes.
Push your code to the remote repository:
Pull other changes from the remote repository:
git add
but before git commit
:
Inspect which files have been created / modified / deleted:
Inspect changes to the code since the last commit:
git
git
:
main
branch.