The whole process of building and using gitlab server (2)

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     

Pasted Graphic 16.tiff

  

Pasted Graphic 17.tiff

 

 

 

Pasted Graphic 18.tiff

 

 

If you encounter the above problem, open System Preferences:

 

Pasted Graphic 19.tiff

 

Pasted Graphic 20.tiff

 

 

 

Pasted Graphic 21.tiff

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

Pasted Graphic.tiff

 

Step 3: Determine your project team with verification

Pasted Graphic 1.tiff

 

Step 4: Create your own project repository

Pasted Graphic 3.tiff

Pasted Graphic 5.tiff

 

 

 

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

Pasted Graphic 4.tiff

Then make global settings:

Pasted Graphic 9.tiff

For details, please refer to:

Pasted Graphic 10.tiff

 

 

Then clone the project repository you created:

Pasted Graphic 6.tiff

Then put your code files in the project repository:

Pasted Graphic 7.tiff

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

Pasted Graphic 8.tiff

Finally, execute git commit to add the cache contents to the repository:

Pasted Graphic 11.tiff

 

Then upload it:

Pasted Graphic 12.tiff

 

Final confirmation upload:

Pasted Graphic 13.tiff

 

 

At the end, it is convenient for you to upload next time:

Pasted Graphic 14.tiff

 

 

 

Of course, if your local files are lost, you can also download them directly to gitlab. 

Pasted Graphic 22.tiff

 

************"gitlab administrator operation manual" ************

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325020254&siteId=291194637