Git tag management details
Outline:
I. Preface
Ii. Tag Overview
3. Create tags
Iv. Manage tags
V. Summary
Note: CentOS 5.5 x86_64, Git server version: git version 1.8.2.1, and Client version: git version 1.9.2.msysgit.0. Download all the software here: http://msysgit.github.
Sign up for a GitHub accounthttps://github.com/To install the Git tool:https://git-for-windows.github.io/Once the above preparations are complete, start the operation now.First, go to GitHub home page, click "New Repository" button, create a new warehouse.Second, fill in the relevant information, click the "Create Repository" button, the warehouse was created successfully, we use the warehouse name is NewOb
If you take programming seriously, you must use the version control system ).
The most popular version management system is not git.
Compared with similar software, git has many advantages. One notable point is that the branch and merge (merge) of the version are very convenient. In some traditional version management
Git's command line seems to have no particularly useful UI tools, whether it's from Android studio or something else, and it doesn't seem to be a complete substitute for the command line. Plus there's nothing more normal for Git than diff and merge."git encourages frequent use of branching and merging in the workflow, even if it does not matter many times a day." Once you understand the concept of branching
local tags first: git tag-d ver0.5Remove remote tags: git push origin:refs/tags/ver0.5So the remote git server tag is deleted, below we go to the remote GIT server verification, such as:WYou can see that the remote git tag is actually deleted, hey. Well, here we have the
Almost all version control tools are designed for the same purpose: developing and maintaining code that is developed, facilitates reading the history of the code, and records all changes. Here, we introduce git, the version control tool that is currently very popular within the open source community. It was invented by Linus Torvalds and was originally designed to facilitate the
1. Download the GIT client tool http://msysgit.github.com/2, Installation MsysgitNextAgree to the GNU agreementSelect Installation LocationSelect TrueType Front, NextDo not create a startup folderDefault Git Bash, it's ready.Select the default checkout StyleThe installation is complete.3. Configure local GitAfter installing the Msysgit, you can start to configure
Jenkins + maven + git + sonar system continuous integration code Test Management, jenkinsmavenJenkins + maven + git + sonar system continuous integration code Test ManagementInstall JenkinsJenkins is a Java-based continuous integration tool used to monitor continuous repetitive work. features include: 1. Continuous s
In order to develop an Android application, it was found that the SDK did not have source code at development time, so it was too cumbersome to develop, and here is how to download the source code and how to configure it.Download the source code requires git, first download a git. The following actions are done under Windows.After installing GIT, clone
1, first to the official Web download git package, the address is Http://git-scm.com/download 2, enter the command tar zxvf git-1.7.9.4.tat.gz unzip the file to the current directory 3, and then execute./configure make sudo1, first to the official Web download git package,2. Input command tar zxvf
If you are serious about programming, you will definitely use the version control system.Now the most popular version management system, not git.Git has many advantages over similar software. One notable point is that the version of the Branch (branch) and merge is very convenient. With some traditional version management software, branching operations actually generate a physical copy of the existing code,
If you are serious about programming, you will definitely use the version control system.Now the most popular version management system, not git.Git has many advantages over similar software. One notable point is that the version of the Branch (branch) and merge is very convenient. With some traditional version management software, branching operations actually generate a physical copy of the existing code,
What is a remote repository?
As described in chapter 1, remote warehouses can store all source code and resource files you have written.
It can even be used as a network disk, but of course there are many features that fit the GIT management text.
The following describes how to use GitHub as an example remote repository. (You can also create a server as a remote repository by yourself ).
Create a repositor
-SIZE:15PX; Font-family:courier new,courier; " > Commit on the Feature1 branch: switch to Master branch: git also automatically prompts us that the current Master branch is ahead of 1 commits than the remote master branch 。 commit: Master: SimpleFeature1:and SimpleIn this case, git cannot perform a "quick merge" and can only attempt to merge its own changes, but the merge may conflict, so
1. Create a new project on the Code cloud
Use the Readme file to initialize the project this check to remove
After the project builds, you will see the code Cloud's Git easy to get started Tutorial:
Git Global Settings:
git config--global user.name "Your code cloud account"
git config--global user.email "Your code clo
Excerpted from: CSDN Inverse cheersGit in pull, when this error occurs, many people may enter the stash, related stash see: Error pulling Origin:error:Your local changes to the following files would be overwritten by mergeBut after discovering stash still appears: Error pulling origin:error:The following untracked working tree files would be overwritten by merge ...In fact, you see the error hints, it is because some untracked working tree files caused problems. So as long as the solution of the
merge the dev Branch's work results into the master branch.
$ git merge devUpdating 50bca6c..ee88faaFast-forward WebRoot/hello.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Git mergeCommand to merge the specified branch to the current branch. After merging, view the hello.txt content on the master branch, which is exactly the same as that on the dev branch.
After merging, you can delete
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.