How to update Git clone

前端 未结 2 1333
眼角桃花
眼角桃花 2020-12-07 14:32

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

2条回答
  •  [愿得一人]
    2020-12-07 15:28

    git pull origin master
    

    this will sync your master to the central repo and if new branches are pushed to the central repo it will also update your clone copy.

提交回复
热议问题