跳转到内容

欢迎来到Riguz的小站!这是一个私人wiki,用来记录一些我的笔记。

Git:命令:修订间差异

来自WHY42
imported>Soleverlee
以“在使用git fork了其他人的项目后,这个项目就会在自己的git空间复制出来,这时如果人家的版本更新了怎么办? <source lang="bas...”为内容创建页面
 
imported>Soleverlee
小 Soleverlee移动页面Git:Fork与更新至Git:命令,不留重定向
(没有差异)

2017年5月18日 (四) 02:22的版本

在使用git fork了其他人的项目后,这个项目就会在自己的git空间复制出来,这时如果人家的版本更新了怎么办?

git clone https://git.oschina.net/solee-linux/eova.git

cd eova
git remote add eova-master https://git.oschina.net/eova/eova.git
git fetch eova-master
git pull eova-master master