Answers for "git flow"

7

git flow init

#basic
git flow init
#with default to not be promted
git flow init -d
#with force to re-run init and edit data
git flow init -f
Posted by: Guest on April-04-2020
1

git flow hotfix

#Start hotfix
git flow hotfix start VERSION
#Finish hotfix, Remember to increase your app version!
git flow hotfix finish VERSION
#Remember to push all branches and tags
git push --all --follow-tags
Posted by: Guest on April-04-2020
7

git flow feature

#Open a feature branch named: feature/feature_name
git flow feature start feature_name
#Close a feature branch
git flow feature finish feature_name
#Remember to push all branches
git push --all
Posted by: Guest on April-04-2020
3

git flow release

#Starting a release create a branch release/release_version
#tipically version are Semantic Versioning standard X.Y.Z
git flow release start release_version
#Finish a release, remember to update your application version!
git flow release finish release_version
#Remember to push all branches and tags
git push --all --follow-tags
Posted by: Guest on April-04-2020
3

git flow

$ git flow init

Initialized empty Git repository in ~/project/.git/
No branches exist yet. Base branches must be created now.
Branch name for production releases: [master]
Branch name for "next release" development: [develop]
How to name your supporting branch prefixes?
Feature branches? [feature/]
Release branches? [release/]
Hotfix branches? [hotfix/]
Support branches? [support/]
Version tag prefix? []

$ git branch

* develop
 master
Posted by: Guest on May-07-2020
0

gitflow workflow diagram

$ git checkout -b myfeature develop
Switched to a new branch "myfeature"
Posted by: Guest on May-04-2020

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language