Recently, a project needs to use a server as a dedicated deployment server, encountered some problems in the implementation process, as follows:1. The SSH default port of the server and the SSH port of the project Git repository are inconsistent 2.
In general, configure a git server, you need a server, but also need a client to verify the success of the server, and the general developers have only a basic server, it needs this server as a git server, and as a client to use, The following
How to install and build Git Server using Gitosis in CentOS 6.3
Git, as a distributed version control system, generally communicates with servers over the ssh protocol when using git. The main advantage of using ssh is that it is fast (data is
Environment: Server CentOS6.6 + git (version 1.7.1)Client Windows10 + git (version 2.8.4.windows.1)① Installing GitLinux as a server-side system, Windows as a client system, install Git separatelyServer-side:#yum install-y gitWhen you're done
One, create a git account1. Create a git account on the machine server that is used as the server. We can add them through the System preferences->accounts. Here I add a git administrator account, Administrator is not required, here just for
Environment: Server CentOS6.6 + git (version 1.7.1)Client Windows10 + git (version 2.8.4.windows.1)① Installing GitLinux as a server-side system, Windows as a client system, install Git separatelyServer-side:#yum install-y gitWhen you're done
Start
This chapter describes the knowledge before using git. We will first understand the historical background of some version control tools, and then try to let git run on your system until the final configuration is complete, you can start
The birth of Git
Centralized vs Distributed
Install Git
Create a repository Repository
Add files to the GIT library
1 adding readmetxt file contents to Repository
2 First Step
3
Using SSH over the HTTPS portSometimes, firewalls refuse to allow SSH connections entirely. If using HTTPS cloning with credential caching are not a option, you can attempt to clone using an SSH connection made Ove R the HTTPS port. Most firewall
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.