Josh Randall Josh Randall - 5 months ago 50
Git Question

how to update git clone

I have started using git. I have cloned the master on my local system. I make the changes on the local machine and use git push to the update the master. It works fine.

I have a quick query how to update my clone from the master. 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 master before I get to work. How I can update the clone.

I appreciate any help.


If you want to fetch + merge, run

git pull

if you want simply to fetch :

git fetch