Dear colleagues, the adventures of git (1) tells a story about "Hello git. Some of you may have been using other distributed version control systems (DVCs). After reading these systems, you can easily get started with git. Some of you may also be familiar with git, still confused about it.
Starting from this article, I
After installing Git is not eager to practice practiced hand, then we start now.
test Environment: Operating system--windows XP, software--git for Windows, operating terminal--git Bash
The first thing to do is to prepare, find a suitable location to create an empty directory, and then choose to create an empty directory named
Git branch management and Git branch managementGit branch management overview
Almost every version control system supports branches in some form. Using a branch means you can separate it from the Development Main Line and continue working without affecting the main line.
Some people refer to Git's branch model as a "killer feature" because it distinguishes Git fr
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 centralized, file-differentiated version control tools. Git brings many conveniences such as offline submissions, lightweight branching, and more. However, some
Git Series 4: advanced features of Git
Tip: In our git configuration and Usage Guide for windows, we will introduce how to use the $ git go command. In fact, this is not a native command of git. It is a custom alias (alias ), it is composed of four commands: $
Git learning, git learning tutorial
Git command line configuration1 install Github2. Install msysgit3. Configure the user name and Fuel TankGit config -- global user. name My command is: git config -- global user. name mchdbaghGit config -- global user. email My command is: git
1. Create a version library(1) Set the configuration variables for git. These settings make permanent records in a global file (. gitconfig) or System file (/etc/gitconfig) $ git config--global user.name "Kimisme" $ git config--global user.email [email protected] (2) In this user's global configuration, set the GIT ali
The previous article introduced the Git object model, and then we went to the ". Git" directory to see what was going on and what in the directory was related to the Git object model. With this directory, we'll learn more about how git works.. Git directoryThe following is t
Transferred from: http://www.cnblogs.com/yubinfeng/p/5182271.htmlThe previous two code management tools, VSS and SVN, have been used to facilitate our code management for a long time, and this article introduces a completely different (and also irrational) version control system--git. It can be said that git is very fire, which is closely related to the design idea of the designer's sword-pointing pifo.
Reprint please specify the source: Alvin Lee's Blog: Http://blog.csdn.net/lihaoweiV
The git rebase command is powerful, and in the Git Authority Guide, change the order of submission, which teaches a very complicated method, using git reset ... git cherry-pick ... Wait for the order.
But if you use
Git Introduction
Git is a distributed version control system. The GIT client does not only extract the latest file snapshot, but completely mirrors the code repository. In this way, any server that works collaboratively can be recovered from a local warehouse from any image. Because every extraction operation is actually a complete backup of the code repositoryIn
git add -AStages all
git add .Stages new and modified, without deleted
git add -uStages modified and deleted, without new
git initecho Change me > change-meecho Delete me > delete-megit add change-me delete-megit commit -m initialecho OK >> change-merm delete-meecho Add me > add-megit status# Changed but not updated
1. Background Git manages remote repositories. This document uses GitHub as an example. 2. Manage remote warehouses 1. For local SSH authentication, create a repo on GitHub called ospaf-getwordfre 2. Add a remote repository, which can be implemented using the GIT Remote Command. O is the repository name and can be viewed using git remote-v.
git rmGit RM removes the entry from the cache. This is different from the git reset HEAD to de-cache the entries. "De-caching" means restoring the buffer to the way it was before we made the change.By default, thegit rm file removes files from the cache and your hard drive (working directory).If you want to keep the file in your working directory, you can use git
Common git commands and git commandsCommon Git commands
View, add, submit, delete, retrieve, and reset the modified File
Git help
Git show # display the submitted content git show $ id
Git
Previously, Git's core features game archived local version management was introduced. This will introduce the remaining two core features of git: branching and remote repositories .1.Git Game Archive Evolution version--git BranchThe idea of git branching is interesting, and git
Git usage notes, git notes
Reprint blog please specify reprint address: http://www.cnblogs.com/lpit/p/4913629.html
Knowledge: Git has a tool called git config that allows you to obtain and set configuration variables. These variables can control the appearance and operations of Git
Summary: When you use GIT for project development, you need to communicate with the remote server. One of the most frequently used places is getting stored objects from a remote repository. We know that git pull equals the result of git fetch and git merge. So where is the object that
Git learning Summary (1): git learning Summary. List of common Git commands
1. Create a code library
# Create a Git code library in the current directory
$ Git init
# Create a directory and initialize it as a Git code library
$
First, create a GitHub repository (warehouse)1. Login to GitHubTo create a github repository, you first need to login to the Github,github URL: https://github.com. If you don't have a GitHub account, you'll need to sign up for a GitHub account, not here to show you how to sign up for GitHub.2. Create Repository (warehouse)There are two ways of creating a repository warehouse.2.1. Use the downward inverted triangle in the upper right corner to create it, as shown in:2.2. Create using the new Repo
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.