Simple Gitlab Configuration and use

Source: Internet
Author: User

<title>Simple Gitlab configuration and use. MD</title>#?gitlab Access address?
-?https://git.ntalker.com

----------


#?gitlab configuration and use? #

-?**gitlab User Login * *

Enter https://git.ntalker.com on any browser on this computer and login with your username and password.

-?**gitlab Personal configuration * *?

New Build Project (project)

When the user logs in successfully, click on the "+" button to start the new project:
! [] (Http://i.imgur.com/UNA2CJE.png)

In the New? Project interface (for example), enter your own "Project?name" and click "Create?project":

! [] (Http://i.imgur.com/DULq6UX.png)


----------


#-Local client configuration and use? #
-?windows version software download

git-1.9.4-preview20140929

Official website: http://git-scm.com/download/
In the official website, choose download according to your system's operating system
Click "Next" until the installation is complete and click "Finish". During the installation process, you will select the default

-? Tortoisegit

Official website: http://download.tortoisegit.org/tgit/1.8.11.0/
In the official website, choose the download according to the version of your system.
Can be Chinese language pack, recommended installation, below is

-? Tortoisegit Description:

System?prerequisites
Windows? Xp? Sp3?or?newer?is?required
For? Windows?7, huh? sp1?is?required;? For? Windows? Vista? Sp2?is?required
Admin?privileges?for?the?installation
Windows? installer?4.5? (required?since?) tortoisegit?1.7.15.2)
Git?for? Windows?
See more:? https://code.google.com/p/tortoisegit/wiki/SetupHowTo


##?mac version software download? # #

-?git-2.0.1-intel-universal-snow-leopard.dmg
Official website: http://git-scm.com/download/

-? Xcode
???? From the Mac app? Download Xcode in the store for free

##? Tortoisegit instructions for use? # #

-? HTTPS connection mode


* * Clone a remote repository * *

The address of your own Git library is introduced:

SSH address, see:
! [] (Http://i.imgur.com/LOZmuU3.png)

HTTPS address, see:
! [] (Http://i.imgur.com/Z5X7zUz.png)

The complete operation is as follows:

Create a new directory, an English name, for example, called test;
Enter test, right click on the blank Place, select "Tortoisegit", and then select "Settings";
Follow the settings:
! [] (Http://i.imgur.com/dY0Jd01.png)

Right click on the blank in the test directory, select "Git clone ...";
Fill in the URL in the open interface with the HTTPS address given in Gitlab, then click OK



* * Submit any file to the native git repository * *

The complete operation is as follows:

Enter the directory of the repository you just cloned, place any files, click:
! [] (Http://i.imgur.com/WsyJKIc.png)


In the open window, enter the log information, click "All", click OK. Such as:
! [] (Http://i.imgur.com/luTApWB.png)



* * Submit a native git repository to a remote GITLAB server * *

The complete operation is as follows:
right mouse button to select "Push", such as:
! [] (Http://i.imgur.com/mkUmH1m.png)

In the Open Push window, click OK directly;
After waiting for the GIT Command Progress window to complete, click Close on the line

* * How to save user name and password when operating tortoisegit * *

The complete operation is as follows:
The right mouse button to enter the settings interface, press the settings, then git any operation will not need a user name and password
! [] (Http://i.imgur.com/k5FJTQa.png)


-? SSH connection mode

* * Upload SSH public key (. ssh/id_rsa.pub) to Gitlab * *

Click the villain icon in the upper right corner of the interface to enter the settings screen, such as:

! [] (Http://i.imgur.com/7xyHIzr.png)

Then click on "SSH" in the next screen. Keys ", enter the SSH key settings interface, such as:
! [] (Http://i.imgur.com/YtOE2Ho.png)

Then click "Add" in the next screen. Ssh?keys ", such as:
! [] (Http://i.imgur.com/Mz6zouE.png)

Paste the contents of your id_rsa.pub's public key into the box after "key", then click "Title" with your mouse.
Finally click on "Add?key", such as:
! [] (Http://i.imgur.com/oLbbEPQ.png)


* * Native generate SSH private key * *
Open "Git?" Bash "software, input: Ssh-keygen?-t?rsa?-c?" Your_email ";
Just press the return line.

* * Native SSH private key * *

Open git? Bash software, after entering "PWD", will display the current user's home directory;
Put your SSH private key (. ssh/id_rsa) into this directory. SSH directory.

**tortoisegit Use * *

At this time in the use of tortoisegit software ssh git address operation, there is no need for password.




From for notes (Wiz)

Simple Gitlab Configuration and use

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.