过去5年来,我一直在使用SVN,对GIT还不是很熟悉。在进行基本操作时,我有一些困惑,看了很多教程和视频,但没有找到答案。希望这里的某个人能回答我的问题。
我已经成功使用GIT GUI完成了以下步骤。
Step 1- I create two folders on the c: Project-clone-1 and project-clone-2
Step 2- Then i clone Project1(which is on github cloud public server) in 'Project-clone-1' then in 'project-clone-2'
What i want to achieve by creating two copies of same repository is to observe if i commit any change from 'Project-clone-1' and then would like to go to 'project-clone-2' to pull and see if changes comes there.
Step 3- i made some change in a file which is inside 'Project-clone-1' i commit and then pushed.
Please remember i have only master branch.
Step 4- Then i went to the 'project-clone-2' from git GUI i do remote -> Fetch from -> origion
Step 5- it shows Fetching new changes from origin master-> orgin-> master (done)
Step 6- when i opened file which i expect to have change in 'project-clone-2' i still see old file ???
当我更新后,它没有显示远程更改,我是不是错过了什么?提前感谢您的帮助。