Now let's enter the second phase, where we would like to resume our work from a remote machine.
There are only three stages involved here.
git clone https://[email protected]/raviepic3/online_workbench.git /path/where/you/would/like/the/clone_to_be
git add * git commit –m 'Your commit message' git pull git push
We just practiced a working solution for maximizing productivity by effectively handling situations as described in Scenario 1.
Git add *
stages/adds all your changes, which is confirmed and recorded by the git commit
command. Git pull
is used to check whether there are unsynced updates in the server; if present, they are synced appropriately followed by git push
, which updates the server's files with the changes that you have made and committed in your local repository.
3.147.103.8