Josh Randall Josh Randall - 1 year ago 145
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.

Answer Source

If you want to fetch + merge, run

git pull

if you want simply to fetch :

git fetch
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download