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
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
GIT basic operations. git usage tutorialGitThe job is to create and save the snapshots of your project and compare them with the subsequent snapshots. In short, Git is the source code management tool. The following are simple Git commands that are
ArticleDirectory
Three States of a file
View help
Create a git Repository
Submit update
Delete an object
View submission history
Graphical log interface gitk
Cancel operation
Use of remote version Library
Http:
Git command for obtaining and creating projects, git command for obtaining Projects
Obtain and create project commands
Git init
Use git init to create a Git repository in the directory. You can do this at any time and in any directory, and it is
Git Basic Operations
Git's job is to create and save a snapshot of your project and compare it to a subsequent snapshot. This chapter describes the commands for creating and submitting your project snapshots.
Get and create a project command
Git
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
I first published and summed up the things I learned, there are bad places please point out
one, git upload item (install git)
There are two ways git uploads a project: An HTTPS method, an SSH method
HTTPS method:
1, first login github.com
OverviewBefore we describe what git is, we need to make a basic overview of versioning (version control), which, in general, is managed and maintained on two dimensions of time and space, and the code itselfAnd the project files of the organization
Objective
Almost all version control systems support branching in some way. Using branching means that you can separate your work from the development line to avoid affecting the development line. In many version control systems, this is a
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.