This article comes from: https://www.cnblogs.com/2186009311CFF/p/12209765.html
The company recently GitLab a whole, has been using svn for me, very confused, finishing the following documents for you beginners, the following applies windows computer:
First, the website registered an account (account passwords to remember): generally take a GitLab their company website, that can not retrieve the password
Second, the pages get generated secret key command (SSH-keygen -t rsa -b 4096 -C "own account" ) to the windows cmd in the execution, and then prompt the next operation (at the moment to remember the password set), find the corresponding the key
Third, the generated files in the secret key, to save the page settings (such as reset, then please delete the previous settings)
Fourth, download and install git (fool installation)
Fifth, if the account privileges allow, then in an empty project will establish a new project, not have to find a higher authority account
Sixth, find the corresponding code directory want to put the code, right click and select "Git Bash Here", press the "Enter" key
Seven login page to find the appropriate item
Eight, enter the following command to clone the code:
Git clone copy out the page code address
Nine, the code required to submit (as long as the files in the folder) to move to this new directory
Ten, open the folder where the code, execute the command:
git add .
XI submit code to a local warehouse
the commit -m git " initial commissioning "
XII retrieve remote updates, enter a password (hereinafter referred not updated)
git pull
XIII submit code to the remote, enter your password
git push
XIV, pages can view the code has been successfully submitted
Reference Links: https://blog.csdn.net/dc282614966/article/details/89311683