9.3 git internal principle-git References
Git References
You can perform commands like git log 1a410e to see the complete history, but you should remember that 1a410e is the last time you submitted it so that you can find those objects in the submission history. You need a file to record these SHA-1 values with a sim
Git Common commands and git Common commands===== Git Common commands ======= 1.Git documentation ===Git Chinese Document viewing address: http://git.oschina.net/progit/=== 2.Git basic commands ===
GIT _ server and local environment build, git server build
Install the git package in linux
The git version automatically installed on many yum sources is 1.7, Which is manually compiled and re-installed here.1: Install the dependency packageYum install curl-devel expat-devel gettext-devel openssl-devel zlib-devel gcc
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
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
Convenient for future reference. Thank the original blogger for sharing.
When we develop a project on more than one computer, we need to constantly modify the submission and update the latest remote code on another computer, see how to get updates from the remote code warehouse to the local, summed up the article on the Internet, using the following way is relatively simple.
Viewing remote branches
Use the following command to view the remote repository (I have a origin warehouse here)
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 branch learning note and git branch note
Introduction
After two times of Git content, I forgot the concept of branch in the next day and thought it was not very useful. Then I read it again to find out why it is an extremely important thing in Git.
The so-called branch is similar to the branches of a tree. It has a
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
These two days in toss build group git server environment, just start originally want to try to use Gitlab, but install up for my Linux rookie is a bit difficult, toss for a long time Gitlab did not fix decisively gave up.
Then find some articles online to follow, may be due to the version of the server, the version of the software and other reasons, in short, I did not find an article can be described above the complete success of the installation,
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 stated, are based on the Linux endpoint. If you find that this article has errors, or other questions, please contact me: [email protected]
1. What is git
After building the GIT server locally, push the new code on the development machine and discover the GIT hint:Insufficient permission for adding a object to repository database. git/objectsThis occurs because there is no write permission on the directory where the repository resides, causing the new file to not be uploaded.So note that in the usesudo
Five steps to master the basic development and usage commands of Git, and five steps to master git commandsStep 1: set global variables:
git config --global user.name "gang.li"git config --global user.email "[email protected]"Step 2: Initialize the repository and push it to the remote repository (if this step is perfo
This article was reproduced from: Https://www.jianshu.com/p/e5d801b936b6Premise:
Generate Patch: git format-patch-m master generates the specified patch, 0163BED3BF59AE74C36CC5138B4C24F1556D8304 is a commit id,-1 is the start of the current ID, the number of commits down, including this and the count starting from 1. that is, I want to 0163bed3bf59ae74c36cc5138b4c24f1556d8304 the current patch, then:
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
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 stated, are based on Linux terminals. If you find that this article has errors, or other questions, please contact me: [email protected]
1, what is git
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:
[email protected]
and provide relevant evidence. A staff member will contact you within 5 working days.