The premise of this summary is that a git server has been built and connected through the SSH protocol. For more information, see RHEL git server setup, WindowsXP git server setup, and git server usage basics. This article uses the GIT-2012-01-11 under the rhel5.5 system, the user root/password, git repository is stored in the/APP/gitspace directory.
First, connect to the server using the shell tool and create an empty repository gitdemo. The SSH access address is as follows, which consists of the protocol name, user name, IP address, port, and git repository directory.
SSH: // root@192.168.1.101: 22/APP/gitspace/gitdemo
Open the GIT resource library window and select clone resource library
Now that the remote git repository has been cloned to the local machine, you need to check the repository as an NC module project.
Finally, the gitdemo module project is obtained. The branch is mirror.