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
1. Any branch can be created locally. If you do not push it to the server git, the contents of the server will not be affected.
2. Use git push as follows:
Git push file: // home/hebo/work/testgit/Master
In this way, only the master branch is pushed
Git checkout--check out in everyday git operations is our common command. The two most common scenarios are creating branches and switching branches.In the following command, a few abbreviations are used, as explained here:Git St # git statusgit ci
1. Git Concepts1.1. Git libraries are made up of three partsThe git repository is the. git directory, which holds the document index content that we submit, and Git can track the document it manages based on the document index content, enabling
Code rollback: Reset, Checkout, revert selection Zhongyi Tong edited this page on Dec 8, 2015 • 5 Revisions Pages +
Home
2.1 Quick Guide
2.2 Creating a code Warehouse
2.3 Save your changes
2.4 Checking the warehouse status
Git for detailed use, git for use1. Git Concept1.1 The Git library consists of three partsGit repository is that. the git directory stores the submitted document index content. Git can track the content of the documents it manages based on the
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
Experiment Description
This section of the experiment is the first experiment for getting started with git, which helps you become familiar with how to create and use a git repository.
The initialization of GitBefore we use Git for
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.