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
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
We have successfully added and submitted a Readme.txt file, now it is time to continue working, so we continue to modify the Readme.txt file and change it to the following:
Git is a distributed version control system.
Git is free software.
Now run
hint: Look at the way this article, do not understand the first skip, read the length of the following may be understood.
git and GitHub
concept
Git---version control tool (command).
Tool Introduction Official Website: http://git-scm.com
Tool
If not specified, ' $ ' means execution under the Linux terminal command lineOne. Install gitLinux Fedora Series installation command: $ sudo yum install gitLinux Debian Series installation command: $ sudo apt-get install gitTwo. Configure
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
This tutorial was posted on the community web site and is now transferred to your blog:
Http://oss.lzu.edu.cn/artical.php?id=16
Description: All pictures of this tutorial are from "Pro git". All of the following operations, unless specifically
This tutorial was previously sent to the community website and now turns it on your blog:)
Http://oss.lzu.edu.cn/artical.php?id=16
Description: All of the pictures in this tutorial are from pro git. All of the following actions, unless specifically
$ git init//Initialize a git repository$ git status//view the status of the warehouse
$ git Add. Add all modifications to staging area
$ git add *//Ant style Additions modified
$ git Add *controller//Add all modifications of files ending with
git basic concepts and usage summaryOriginal Author: guibin.beijing@gmail.com
In the daily use of git process, often error, such as inadvertently lost uncommitted data, fallback version lost working directory, and so on. After thinking that all of
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.