Git Flow basic operations

Source: Internet
Author: User
Tags git commands
Common Scenarios for Developers

Complete functionality in a regular project

  • Git flow feature start 888
  • Commit changes using daily git commands until the function is complete
  • Git flow feature finish 888

This action merges the feature/888 branch into the dev branch and, if the function is complete, can be push to remote dev for testing

Complete a single function and test

Steps are the same as regular development, but can be push to a remote git library

  • Git flow feature publish 888
  • Testing and fixing bugs
  • Git flow feature finish 888

Emergency fix Bug

Use hotfix to fix bugs urgently

  • Git Flow Hotfix start 888
  • Fix bugs
  • Git Flow Hotfix finish 888

This merges the modified code into the dev and master branches, and prepares for subsequent releases.

Code Publishing

Do the code release when the feature is very high

  • Git flow release start v0.1
  • Allow a small amount of bugfix action
  • Git flow release Finish v0.1

Quote Original: http://www.jeffkit.info/2010/12/860/

Git Flow basic operations

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.