github上的项目已更新,怎么同步更新本地的项目?

  1. github上的项目已经更新了,而我本地pycharm里的项目还是之前的
  2. 怎么让我本地的项目更新呢?
  3. 还是只能重新clone一份了?

git pull -u origin master:master //参考链接: https://www.cnblogs.com/ycwtojava001/p/6816203.html

cd 到项目文件夹里,执行 git pull