Upload projects to gitlib process
Download git tools: https: //git-scm.com/download/win
Process steps
to set up the group, and then build the project, you must set key, he will be prompted so you do not create a new project or group will be unable to upload code, and then remember to write personal project, and then add members, you can set roles, up to owner ,
if everyone had to submit code to estimate the key before they can add their own, specific methods can be generated as follows, to see if there is, it does not generate, comes with git command ssh-keygen, generate a key copied onto the site gitlib Enough
The remaining pile of command execution on the line, a new marster if you do not want it, you rm it, have the following command, steps must not be less not be wrong, push remember -u, remember to use the time to upload must add http with
git will prompt non-privileged, very troublesome
Display the public, with the description
of the type% USERPROFILE% \. SSH \ id_rsa.pub
of the type% USERPROFILE% \. SSH \ id_rsa.pub
Way to copy the public key of
type% userprofile% \ ssh \ id_rsa.pub |. Clip
Generating a secret key and a password is required
ssh-keygen -t rsa -C "configuration gitlib mailbox"
This command exists in Git tool
ssh-keygen
If the query can not be found because the middle userprofile spaces desk -2, so it is necessary to enter directly into the current directory to the job C: \ Users \ desk 4-2 \ .ssh>
C:\Users\desk 4-2\.ssh>
push password is aaaaaaaaaaaaa_wisxxxxx_aaaaaaaaaaaaaaa
Your identification has been saved in /c/Users/desk 4-2/.ssh/id_rsa.
Your public key has been saved in /c/Users/desk 4-2/.ssh/id_rsa.pub.
The key fingerprint is:
SHA256:0FL3dRitRnIUb7wqN/K50kwyu9lpmryYTCazi7+ECQM gitlib的 配置的邮箱
The key's randomart image is:
+---[RSA 2048]----+
| . . .==.|
| o . ...++.|
| E o . .+ .+|
| . o o..|
| o S . . |
| o o o .. |
| o + o oB+ |
| o B +oO++ |
| ..=o+ B**. |
+----[SHA256]-----+
C:\Program Files\Git\usr\bin>
git config --global user.name "configuration gitlib name."
git config --global user.email "configuration gitlib mailbox"
git init
git remote add origin http: // gitlab private domain / personal group name / project name-server.git -backend.
git remote add origin http: // gitlab private domain / personal group name / project name -frontend. -server.git
git the Add Remote Origin HTTP: // gitlab private domain / personal group name /ui.git.
git the Add Remote HTTP Origin:. // gitlab private domain / personal group name /documents.git
the Add git.
git the commit "the name of the project" -m
git push -u origin master
git push -u origin master
Public project download methods
1. Copy url, such https://github.com/ulli-kroll/mt7610u
2. Go to the directory in which to store git code
3. Enter: git clone git: //github.com/ulli-kroll/mt7610u
git @ gitlab private domain: Personal established group name / project name -backend-server.git
git config --global http.sslVerify false
git remote rm origin
git remote add origin http: // gitlab private domain name / group name individuals / projects -backend-server.git.
<1> input git config --global user.name "your user name"
<2> Enter git config --global user.email "your email"
<3> Enter the init git
<4> Enter your git remote add origin just connect the project to establish the
<5> enter the Add git.
<6> enter the commit git
<7> input git config http.postBuffer 524288000 (special note: this line is cached in the local setting, some of the larger project files, use http unable to upload , this command can be set)
<8> git push -u origin master input code push end gitlab
Home page, click on the upper right picture -> your profile -> Popular repositories, see the items you want to delete, click on the go -> top
Select settings -> to the bottom of the page
https:. // gitlab personal account of a private domain name / u / gitlib login name / projects
https:. // gitlab name personal accounts and private domain / gitlib login name / project test
Delete Files
git rm 'file name' # delete the file command
git commit -m 'fill out the comment' # submit command
git push
Added to the user
https: // gitlab private domain / groups / group of individuals created / group_members.
67 git config --global user.name "configuration gitlib name"
68 Origin -u git the Push Master
69 git the Add Remote HTTP Origin:. // gitlab private domain / gitlib personal account login name / project name test .git
70 git Remote RM Origin
71 Origin git the Add Remote HTTP: // gitlab name of the individual accounts of private domain / gitlib login name / project test.git.
72 git the Add.
73 git the commit "the name of the project" -m
Push Master -u Git Origin 74
75 RM Remote Git Origin
76 Git 'the src' RM
77 RM -R & lt Git 'the src'
'item name .log' RM -R & lt Git 78
79 RM -R & lt Git '.mvn / warpper'
80 RM -R & lt Git 'pom.xmlr'
81 RM -R & lt Git 'the pom.xml'
82 RM -R & lt Git 'mvnw.cmd'
83 RM -R & lt Git 'mvnw'
84 History
https:. // gitlab personal account of the private domain / gitlib login name / project name test / edit in here can remove items
https:. // gitlab private domain / dashboard / projects
you can see what all groups
https: // gitlab private domain / groups.
HTTPS:. // gitlab private domain name / group name individuals / projects -backend-server / deploy_keys
add key address
can manage projects delete
https: // gitlab private domain. / groups / individuals to establish the group name / projects