Last time, I installed the Chinese gitlab, so I started to study it, and compiled some operation manuals myself:
"Mac's git installation manual"
"Add personnel gitlab operation manual one"
"gitlab administrator operation manual"
************"Mac's git installation manual" ************
Download address https://git-scm.com/downloads
If you encounter the above problem, open System Preferences:
OK, so it can be installed
************"New member gitlab operation manual" ************
This manual is for Mac computers
Access link: http://47.98.245.86
(If the picture is not clear, please enlarge the pdf window)
Step 1: Log in and change the password according to the user name and initial password obtained from the administrator. The new password must be at least 8 characters
Step 2: Create a key on your own computer, and submit the public key, the key creation command ssh-keygen
Step 3: Determine your project team with verification
Step 4: Create your own project repository
Step 5: Upload and download projects, mac comes with git command tool, if you find that there is no such command, please refer to "Mac's Git Installation Manual",
First create a directory to store the project repository
Then make global settings:
For details, please refer to:
Then clone the project repository you created:
Then put your code files in the project repository:
Then use the git add command to write the content you want to snapshot into the cache area, and use the git status -s command to confirm, that is, a green A appears in front of the code file
Finally, execute git commit to add the cache contents to the repository:
Then upload it:
Final confirmation upload:
At the end, it is convenient for you to upload next time:
Of course, if your local files are lost, you can also download them directly to gitlab.
************"gitlab administrator operation manual" ************