05. GitHub practice series ~ 5. branch operations of the released version + Tag explanation. Create a branch on github

Source: Internet
Author: User

05. GitHub practice series ~ 5. branch operations of the released version + Tag explanation. Create a branch on github

 

GitHub practice series summary:Http://www.cnblogs.com/dunitian/p/5038719.html

------------------------------------------------------

Many people ask, can git gui and github be directly visualized? What are all commands ???

Er (⊙ o ⊙ )... Er (⊙ o ⊙ )... ==> Force Installation ~

O (worker _ worker) O ~, The joke is that it is used in linux for general purpose and familiarity with git. It is useful to be familiar with basic commands,

If you feel unhappy and unloving, we recommend that you get started quickly:Http://www.imooc.com/learn/390

-------------------------------------------------------

If you develop your own git, you may be most concerned about what you are talking about today. If you are not talking about it, you are on the right track ~

Tag push:

First, let's look at the requirements:

1. Introduction. The git command for viewing tags is:Git tag

2. When creating a Tag, add the name directly and then click OK. format:Git tag name-m "comment"

3. Some may ask if the creation is complete? Github is still available

4. This ...... Don't worry. Let's push the following:Git push origin tag Name

5. Check the effect:

 

Branch push(Branch push)

First look at the requirements

1.Git branchIs to view the branch (* indicates which branch is currently in)

2. How to create it?Git checkout-B Name

3. Let's look at the current branches,Git branch

4. Some comrades have a pain in their eggs. Why is there a remote hair and wood ?..... (⊙ O ⊙ )... Let's push the following:Git push origin name

5. The effect is coming ~

 

Expansion:

 

Effect:

 

2. Delete the local branch (the local branch that has been deleted remotely is not deleted. Likewise, the local branch is not deleted ~~~) Git branch-d name

 

 

3. delete remote Tag git push origin -- delete Tag Name

 

 

4. Delete the local Tag git tag-d Tag name s

Related Article

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.