git fetch origin

update local repo from remote master

https://www.youtube.com/watch?v=k6pxsaXAhbI

tom@tom-ML:~/object_detection$ cd darknet
tom@tom-ML:~/object_detection/darknet$ git branch -a
* master
  remotes/origin/HEAD -> origin/master
  remotes/origin/master
  remotes/origin/tjluyao-master
tom@tom-ML:~/object_detection/darknet$ git fetch origin
remote: Counting objects: 339, done.
remote: Total 339 (delta 218), reused 218 (delta 218), pack-reused 120
Receiving objects: 100% (339/339), 1.57 MiB | 21.00 KiB/s, done.
Resolving deltas: 100% (245/245), completed with 80 local objects.
From https://github.com/pjreddie/darknet
   80d9bec..f6d8617  master     -> origin/master
 * [new branch]      yolov3     -> origin/yolov3
tom@tom-ML:~/object_detection/darknet$ git checkout
M	cfg/voc.data
M	cfg/yolo-voc.cfg
Your branch is behind 'origin/master' by 34 commits, and can be fast-forwarded.
  (use "git pull" to update your local branch)
tom@tom-ML:~/object_detection/darknet$ git pull
 error 处理办法:https://blog.csdn.net/iefreer/article/details/7679631

你可能感兴趣的:(计算机基础)