Reprinted: Ubuntu computer (Virtual Machine), which has an independent IP address in the company's LAN, and ensures that everyone in the team can ping;
Software requirements: Install git and OpenSSH on Git-core, gitosis, OpenSSH-server, and
Thanks to Liaoche, the great God shared git lessons
Master the following commands, basically daily enough local warehouse common operation to create a repository
Git init Add file to buffer
Git add file to warehouse
Git commit-m "Commint describtion"
This article is used only for self-study, part of the reference from the Liaoche teacher's websitemkdir Path/file name (d:/test) Create folderCD path/file name (CD d:/test) Enter folderPWD shows the path of the current locationEnsure all-English
Transferred from: http://www.cnblogs.com/sunada2005/archive/2013/06/06/3121098.htmlIt feels good to be using GitHub recently. Under Windows, you can use the Windows Client (http://windows.github.com/) provided by GitHub. Very stupid, very convenient.
Git server built under CentOS: Gitosis
Due to the low cost, I rented a virtual private cloud (vps) from miguo, and the domestic git server is about to expire. I plan to deploy one on it because I have encountered many problems. This article mainly
1. Yum install lrzsz wget git
2. Install gitosis: gitosis is a git user permission management system. It manages user permissions by managing the/home/git/. Ssh/authorized_key file on the server. It is a python module package.
# Yum install
Resources: Https://cloud.spring.io/spring-cloud-static/spring-cloud-config/1.4.0.RELEASE/single/spring-cloud-config.htmlhttp://cloud.spring.io/spring-cloud-static/Camden.SR7/#_environment_repositoryGit Backend--git back end The default
first, know git
what Git is.
A distributed version control system. What is a centralized version control system.
Repository is centrally stored in the central server, and work, with their own computers, so the first from the central server to
Gitosis is a server tool that uses SSH to manage git repositories. It is interesting that the interface for adding users and setting permissions is not a webpage, but a special git repository. You only need to set a project, and then push, gitosis
Getting started with gitIf you have no access to git at all, you can now simply understand the syntax of git (typing some commands) to upload the code to a remote repository or download to a local repository (server), we should have two warehouses
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.