Switch to branch (set a branch to working directory)
git checkout-b
Checkout branch, equivalent to git branch
Git merge
Merge a branch into the working directory
Git pull
The shared repository is synchronized to the local repository and merged into the current wo
of user Information 1. Click Git Bash here to enter the command window settings: 2. Configure individual user names and e-mail addresses, and view configuration information $ git config--global user.name "Here's your name." $ git config--global www.yongshiyule178.com/user.email "Here's your mailbox" $ git
Git to Gnuit in the latest version, changing Git-core to Git. So when you install Git in a different Linux distribution, as described below, you'll see that git and Git-core have two different names.--ubuntu 10.10 (Maverick) or n
background=darkcolorscheme solarized" ColorScheme Molokai
refer
"1" turning Vim into a modern Python IDE (http://www.sontek.net/blog/2011/05/07/turning_vim_into_a_modern_python_ide.html)"2" turning Vim into a modern Python IDE (Chinese translation, which has many errors, please refer to the citation.) HTTP://PYTHON.42QU.COM/11180003)"3" Tutorial: Using pathogen + git to manage Vim plug-ins (http://lostjs.com/2012/02/04/
How to install and use GIT on Linux and how to install gitlinux
GIT unzipping installation and usage on Linux and switch to its directory $ tar xvfj git-1.7.6.tar.bz2 $ cd git-1.7.6 to use the default configuration for installatio
How to Use git to roll back some modifications ()
Many times, git novice easy to misoperation, for example, in the levelIISZ-1.4.dev branch, run the GIT pull IDC cpp-1.0 results, so do a lot of trouble, often lead to incorrect Maven project format, at this time, you can use
Use of git version control toolsPrefacePreviously, the project had been using svn for code version control. I was quite familiar with svn repository construction and svn usage, but git was a more powerful version control tool, in addition, many open-source experts on the Internet have hosted their own code on github, which is worth learning and using. Here we wil
A simple tutorial on git and GitHubDirectory:
0. What is git?
First, the main function of git: Version control
Ii. Overview
Third, Git for Windows software Installation
Iv. use of local git
V. GitHub's
GitHub has been registered long ago, but its use has been ignorant, very unskilled. Until yesterday finished Baidu front-end technical college task, want to put the code to GitHub on the time to find their operations on git is so stupid, so today decided to take git to learn a good time, so that they can better use Git
versioned according to a diff file.
But in git, we don't need to use diff and patch directly to make patches, which is both dangerous and troublesome. Git offers two simple patch scenarios. One is the standard patch generated with Git diff, and the second is git format-patc
Many people already use git (or are moving to git), on the github.com, also see a lot of domestic students open source projects, very good. But the tutorials don't seem to be much, so I wrote an article in my own Open-source project hosting (Https://github.com/wojilu/wojilu).
This tutorial is expected to be available without any version of the basis of the novic
the content of the temporary storage area to the local warehouse and moves the head of the current Branch to a commit point.
Git commit-M [Message]
Submit the temporary storage area to the local warehouse. message indicates the description.
Git commit [file1]-M [Message]
Submit a specified file in the temporary storage area to the local repository.
Use Git version control tools in project development to improve efficiency.
Install Git (linux centos platform)
Source code Installation
1. Install dependency
$ Yum install curl-devel expat-devel gettext-devel openssl-devel zlib-devel
2. Compile and install the source code
Address:
Http://git-scm.com/download
Compile a
First, install git under UbuntuUbuntu12.04 LTS By default is already installed Git, you can use git--version test whether install.If not installed, use the command: sudo apt-get install git gi
I. Preface Git is a free and open-source distributed version control system for effective and high-speed processing of project version management from very small to very large. In normal project development, we use Git for version control. Features of Git: from the perspective of general developers,
This series of articles is written to programmers who intend to use git or are using git, but are not very understanding of git, and hope to help you learn and use Git with less detours, and get familiar with
How to Use git Version Control in QT Creator in Windows XP
Qt creator is an IDE development tool specially designed for the QT application development platform. It integrates many functions, including windows, Linux, and Mac versions. For developers who frequently use QT, we will not discuss it much. The following describes how to
Install git skip ...
git connection github:If you've ever had this problem, I have a solution first, clear all the Key-pair ssh-add-d rm-r ~/.ssh Delete your github in Public-key regenerate the SSH key pair ssh-keygen-t rsa-c "xxx @xxx. com "chmod 0700 ~/.ssh chmod 0600 ~/.ssh/id_rsa* Next normal operation add public key GitHub on Public-key:1, first run Xclip-sel C ~/.ssh/id_r on your terminal Sa.pub copy
. editor emacs
Difference Analysis Tool:
Another commonly used difference analysis tool is used to solve the merge conflicts. For example, to use vimdiff:# Git config -- global merge. tool vimdiff
View configuration information:
To view the existing configuration information, run the git config -- list command:[Root @ SK-UAT-MYSQL/] #
developer's development mode, and version control tools such as SVN place each branch in a different directory, git can switch different branches in the same directory;Instant branch: the process of creating and switching branches is almost the same. You can upload some branches, and other branches can be hidden locally, without uploading all the branches to GitHub;
Branch flexibility: You can create, merge, and delete branches at any time. Multiple
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.