Git three, git in the third
1. Status Command and diff command
Before we have successfully added and submitted a Readme.txt file, modify the Readme.txt as follows:
echo "Git is a distributed version control system." > Readme.txtecho "git was free software." >> Readme.txt
Run the
Why use Git
Confucius once said, the name is a word shun shun the matter into.
Before we learn a new technology, figuring out why it's important to learn it, and why we want to learn about git, I use a if-else statement to tell you why:
if (you believe me) { I recommend you to study;} else if (admittedly, I am not a bull, you can not believe me, but you should believe in most people's choice)
Learn more about Mac-connected git operations for MacFirst on the service sideFirst: Create a new warehouse1, Cd/users/username/projectsUse the Linux command to enter a folder that you want to create to share with others.2,sudo git--bare initBuild a git repository.The "git init–bare" method creates a so-called bare rep
To configure git in eclipse:One, because I am using the new version of Eclipse Java EE 4.4 Default integration git, so do not manually install the Git pluginSecond, eclipse configures the underlying information. Windows->preferences->team->git such as:preferences->team->git-
Version control based on Git
git and svn differences:
SVN must be versioned based on a remote repository, and version control information is in the SVN server
Git: is a distributed tool, in addition to a remote warehouse, there is a local warehouse, you can then offline version control
The GIT installat
Git version control tool (2) ---- common operations on local version libraries, git ----
[Statement]
Reprinted, but keep the original source of the article → _ →
Life One: http://www.cnblogs.com/smyhvae/
Source: http://www.cnblogs.com/smyhvae/p/3994704.html
Contact: smyhvae@163.com
[Body]
In the previous chapter, we learned the most basic usage of Git, including
The basic principles of git are described in the previous two-disk article, which is theoretical knowledge. In this article we go back to practice and look at the use of Git branching (branch).In the Code versioning tool, there is a branch concept. When we started building the repository, we had only one main branch (Master Branch), and it was not possible to put the concept of daily new functionality devel
installation of Git under WindowsOn the GIT home page http://git-scm.com/about can download the latest version of Git for your operating system, such as the one I'm currently using Git-1.9.4-preview20140929.exe.GIT installation process, all the way to the default. Until this
Introduction
Git is currently the world's most advanced distributed version control system, is the management of Linux source version control system, is currently used to manage the Android source code version control system. one, the installation of Git 1, installed under the Linux platform
First, we can enter gitto check if Git is already installed, and if it
git learning notes 05--git stash
An excerpt from the Git authoritative guide
Git stash is used to save and restore work progress.
Git stash
Saves the current work progress. The state of the staging area and workspace are saved separately.
Push in Xcode hasn't reacted in a long time, and then it stopped.
Son, I tried push in the terminal, and there was an error:
Git push Origin Master
Fatal: ' Origin ' does not appear to be a git repository
Fatal:could not read from remote repository.
Sure you have the correct access rights
and the repository exists.
The result check: Remotes Incredibly was I modified, the default is Origin now become Test
1. Mysysgit+gitblit installation process1.1 ResourcesNeed to download the good resources (the company's 1.6,1.7+ please match the corresponding mysysgit+gitblit):jdk1.6Git-1.8.4-preview20130916.exeGitblit-1.2.1.rar1.2 Installation1.2.1 Git Bash installation1) Double click on the pop-up installation page2) Click on 2 times Next, enter the path selection, add a custom path;3) Click Next to enter the selection component,4) Click the next step 2 times, se
Git 3 and git 3. Details are as follows: echoGitisadistributed git 3 and git 3
1. status and diff commands
Previously, we successfully submitted a readme.txt file and modified readme.txt as follows:
echo "Git is a distributed version control system. " > readme.txtecho "
The previous article introduced Git's local basic operations, if you don't need to collaborate with others, such as writing a book yourself, writing a small program yourself, writing a website, and so on, it's almost enough. but sharing and collaboration is the theme of the free world, and Git is born for it, so try to be a student who loves to share and collaborate. ^_^The Git repository concept can be und
First, install Git on eclipse, just like installing other pluginsHelp->install New Software->add ...Enter Name,location in the pop-up box; click-"OK"In this step, check all the options under Name, click Next to install, and then restart eclipse after installing.After reboot, make a simple configurationClick Windows->preferences, Team---git->configuration appearsClick Add Entry ... Enter key valueKey, name f
Branch (branches) refers to the development of the main line of separation, do further development without affecting the original main line.Git does not store a series of change sets (changeset), but rather a series of snapshots. When you perform a commit, Git stores a Commit object that contains a pointer to a snapshot of what you currently need to commit.The function of the master branch in Git is the sam
Git 3 and git 3
1. status and diff commands
Previously, we successfully submitted a readme.txt file and modified readme.txt as follows:
echo "Git is a distributed version control system. " > readme.txtecho "Git is free software." >> readme.txt
Run the git status Command to
Git checkout and git resetI. background
It is really troublesome to upload the code to the server through git every time you debug the code. So for some minor changes, I will directly modify them on the server. After successful debugging, you can use git reset to return to the previous version. After receiving a remind
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.