remote to local : git clone
local to remote : git init
and git push
- Gather of modified files :
git add --all
- Name the group of modification :
git commit -m "your description"
- Send to the cloud/remote repository :
git push
- Retreive modification from the remote repository
git pull
Don't forget the git status
to keep track of the current state
We use dev branch to work with other developpers without break the "main" code.
git checkout -b dev