You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This discussion was converted from issue #26 on August 14, 2022 06:16.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
github在fork之后,你的repo如何同原repo同步呢?
主要就是给你的repo再添加一个remote,指向原repo。接着从这个remote更新就行了。注意如果和本地repo有冲突可能产生merge。你也可以给本地开个新branch跟进。
先查看当前remote
添加新remote
remote名任意,这里我叫root吧。指向原repo
再看看当前remote:
从原repo拉更新
本地切换到master
如果你已经是master忽略这步。
合并原repo的master
推送更新到自己repo的云端
Beta Was this translation helpful? Give feedback.
All reactions