Pull和Push基本没有区别,如果有也只是方向问题。

题目:创建a库,克隆a库为b库,然后创建共享版本库a_to_b。然后从a库Push版本到a_to_b,然后在b库从a_to_b拉回版本。

一,在G盘创建a文件夹

GitHub:Git中的Pull和Push

二,初始化a库,克隆b库,克隆版本共享库a_to_b

GitHub:Git中的Pull和PushGitHub:Git中的Pull和Push

三,在a中创建文件1.txt,然后push到a_to_b

GitHub:Git中的Pull和PushGitHub:Git中的Pull和Push

四,在b中pull(拉回) a_to_b(共享文件夹)中的内容

GitHub:Git中的Pull和PushGitHub:Git中的Pull和Push

相关文章: