zxq@zxq-desktop:~/PycharmProjects/mmdetection$ git remote -v
origin git@git.zhlh6.cn:Z-XQ/mmdetection.git (fetch)
origin git@git.zhlh6.cn:Z-XQ/mmdetection.git (push)
zxq@zxq-desktop:~/PycharmProjects/mmdetection$ git remote add upstream git@github.com:open-mmlab/mmdetection.git
zxq@zxq-desktop:~/PycharmProjects/mmdetection$ git remote -v
origin git@git.zhlh6.cn:Z-XQ/mmdetection.git (fetch)
origin git@git.zhlh6.cn:Z-XQ/mmdetection.git (push)
upstream git@github.com:open-mmlab/mmdetection.git (fetch)
upstream git@github.com:open-mmlab/mmdetection.git (push)
zxq@zxq-desktop:~/PycharmProjects/mmdetection$ git fetch upstream
From github.com:open-mmlab/mmdetection
* [new branch] master -> upstream/master
* [new branch] onnx -> upstream/onnx
* [new branch] yolov4 -> upstream/yolov4
zxq@zxq-desktop:~/PycharmProjects/mmdetection$ git merge upstream/master
Already up to date.