I have started using Git. I have cloned the repo on my local system. I make the changes on the local machine and use git push
to the update the remote repo. It works fine.
I have a quick query how to update my clone from the remote. I tried git remote update
. It did not work, new changes does not appear. I just want to make sure I have recent copy of the repo before I get to work. How I can update the clone?
Best Solution
If you want to fetch + merge, run
if you want simply to fetch :