Code Monkey home page Code Monkey logo

git-flow's Introduction

Git Flow

This tool will help you follow the git flow.

Table of Contents

Flow for Release and Hotfix

Below will print out the flow for release/v1.0.0 to be tags/v1.0.0

$> ./flow.sh --tag-type=release --tag-version=v1.0.0

Below will print out the flow for hotfix/v1.0.1 to be tags/v1.0.1. Please do note that --tag-version= will be used as if --tag-name= is not present.

$> ./flow.sh --tag-type=hotfix --tag-version=v1.0.1

Sprint Naming

There are companies that names their sprint based on characters, such as Pokemon/Disney characters, instead of release/v1.0.0 or hotfix/v1.0.0 you can rename it to be release/eevee or hotfix/eevee-2

$> ./flow.sh  --tag-type=release --tag-version=v1.0.0 --tag-name=eevee
$> ./flow.sh  --tag-type=hotfix  --tag-version=v1.0.1 --tag-name=eevee-2

Note:

  • To execute the command, you can pass --execute
  • To have a diff url, you can pass --git-url=https://bitbucket.org/meta/react

IN PROGRESS - Flow for creating branches for (feature, release and hotfix)

$> ./flow.sh --tag-type=feature --tag-name=ISSUE-101  --create
$> ./flow.sh --tag-type=release --tag-name=sprint-2   --create --tag-version=v1.1.0
$> ./flow.sh --tag-type=hotfix                        --create --tag-version=v1.1.1

Syncing Branches

This will print-out how to sync your old sprint branch to your develop branch and new sprint branch.

$> ./sync-branch.sh old-sprint new-sprint

Tag Removal

This command will help you to clean up your tags, if ever you've accidentally tagged a wrong branch.

$> ./remove-tag.sh v1.0.0
$> ./remove-tag.sh v1.0.0 v1.1.0

git-flow's People

Contributors

daison12006013 avatar lordmangila avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.