Transferred from: http://www.ibm.com/developerworks/cn/opensource/os-cn-tourofgit/The design idea of the distributed code base and file snapshot, which is advocated by Git, is a challenge and subversion relative to the traditional CVS, SVN and other
In the repository of SSH and HTTPS mode is different, specifically, the URL information is different, but the actual authentication mechanism is different. When this key is established, the use of SSH does not actually require re-authentication, and
Git User Manual: differences between HTTPS and SSH
In managing Git projects, https URLs are often directly used to clone to the local machine. Of course, some people also use SSH URLs to clone to the local machine. The main difference between the
In the administration of git projects, most of the time is directly using the HTTPS URL cloning to local, of course, some people use the SSH URL to clone to the local. The main difference between the two methods is: using the HTTPS URL cloning is
You're free to collect some git commands from the Web, sort it out.1. Common git commands
Command
Brief Description
Special Notes
git add
Add to Staging Area
Git add–interactive
-------git installation-------1.linux Installing Gitsudo apt-get install git older: sudo apt-get install Git-core 2.maxOS Installing GitBrew Install Git 3.windows Installing GitMsysgit is a Windows version of Git, downloaded from
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.
Read the Liaoche to write tutorials, down to the end, took three days to learn, do a study note itAbout GitLinus created Linux to facilitate the management of Linux code, the use of C wrote this distributed version control system. The GitHub site
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.