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
Baidu Cloud SynchronizationBaidu Cloud synchronization, will be a local file directory and the cloud synchronization. If you set this synchronized directory locally as the central server for Git, the contents of the local push-to-hub server will also be synced to the cloud. Other developers will be able to collaborate as long as they have the same settings.Using a remote and native to simulate two developers, install Cloud Sync first.git remote reposi
[Git experience] git principles and basics, experience git principles
Principle: Distributed version control systems such as Git, Mercurial, Bazaar, and Darcs. The client does not only extract the latest version.
Instead, it completely mirrors the original code repository. In this way, any server that works collaborati
Overview
When using Git for source code maintenance, it is often possible to view the differences before each code version, such as Git diff before committing the change to see the source file code relative to the corresponding version or remote repository changes. If there is a conflict, you need to merge the changed code into the specified version (for example, the remote branch).
start –beyond Compare fr
[Git] Error prompt caused by Git not initialized, git error prompt
Business scenario: Use gitto submit the readme.txt file. The following message is displayed:
[pms@yhd-jqhadoop39 /home/pms/workspace/ouyangyewei/learngit]$git commit -m 'add readme.txt'*** Please tell me who you are.Run
git Add. : He will monitor the status tree of the workspace and use it to submit all changes to the staging area, including file content modification (modified) and new files, but excluding deleted files.
Git add-u: He only monitors files that have been added (i.e., tracked file), and he submits the modified files to staging area. Add-u does not submit new files (untracked file). (
Original URL: http://blog.jobbole.com/25775/Original: "Pro Git"StartThis chapter describes the knowledge before you start using Git. We'll start with the historical background of some version control tools, and then try to get Git to run on your system until it's finally configured to work properly. After reading this chapter, you'll see why
StartThis chapter describes the knowledge before you start using Git. We'll start with the historical background of some version control tools, and then try to get Git to run on your system until it's finally configured to work properly. After reading this chapter, you'll see why Git is so popular and why you should start using it right away.1.1 About version con
Original: http://gitbook.liuhui998.com/4_10.htmlfirst, to ensure that git good performanceIn large warehouses, git compresses historical information to conserve disk and memory space. Compression is not automatic, you need to manually perform git gc:$ git gc compression is time consuming, it is best to run the
Since the GIT server was built with bonobo git server last timeSource codeSwitch the management tool from SVN to git.
The legendary git is indeed well-known: it is fast and can be split if you want it (convenient branch management )...
However, there is a bad thing: ever
Environment:
Git Sserver
IP: 192.168.40.128
Git Client
IP: 192.168.40.134
-----------------------------------------
Recommended reading:
Fedora downloads Git through Http Proxy
Install Git on Ubuntu Server
Create a Git repository on the server (Ubuntu)
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 frequently used in the work. If you have any shortcomings, I hope to pro
The premise is that Gitbash has been installed, this later out tutorial1, create a new directory, to store the downloaded items, I have a new "Gitspace" folder on the D disk, to store the downloaded items2, enter the newly created folder, that is, enter "Gitspace", click the right mouse button, select "Git Bash here", such as:After clicking on "Git bash here", you can see the following interface, otherwise,
Main content:
1, git add-a
2. Git Add.
3. Git add-u
I. Overview:
Git add is the first step in git code management to save modified code, but there are three git add commands that are commonly used in
Install Git and use Git to manage personal documents
1.1 install Git
The latest version of Git can be found.
Before installationFirst, make sure that the corresponding dependency package has been installed, mainly including the following:
Zlib
Libcurl
Libcrypto (OpenSSL)
Rsync (2.6.0 or later)
After these conditions a
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
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
$
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.