3

【笔记】Git仓库强制从远端覆盖本地

 1 year ago
source link: https://feiju12138.github.io/2022/10/26/Git%E4%BB%93%E5%BA%93%E5%BC%BA%E5%88%B6%E4%BB%8E%E8%BF%9C%E7%AB%AF%E8%A6%86%E7%9B%96%E6%9C%AC%E5%9C%B0/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

【笔记】Git仓库强制从远端覆盖本地

2022-10-26

1

Git仓库强制从远端覆盖本地

强制从远端覆盖本地

git fetch --all
git reset --hard origin/master
git pull

CSDN——不才Jerry


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK