Skip to content
/ git-flow Public template

git-flow on github using github actions along with PR templates

License

Notifications You must be signed in to change notification settings

FramedStone/git-flow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Git-flow with github actions CI/CD

What's the difference

The git-flow workflow is made for personal-usage, hence adding CI/CD transform the same branching workflow convention to match with standard Pull Request workflows using github cli.


Installation

git-flow

Windows - Git for Windows MacOS - brew install git-flow Linux - e.g. sudo apt install git-flow (based on your package manager)

github cli

Windows - e.g. winget install GitHub.CLI (based on your package manager) MacOS - brew install gh Linux - e.g. sudo apt install github-cli (based on your package manager)


Setup

  1. Run git flow init in your repository and complete the setup
  2. Run gh auth login and complete the auth
  3. Modify/Append .zshrc tailored to your setup (optional)
  4. Setup github token, name it as TOKEN

How to start using

  1. Run git flow (branch) start (name_of_the_branch) / git checkout -b (name_of_the_branch) (optional for refactor branch)
  2. DO NOT complete with git flow (branch) finish (name_of_the_branch), instead do gh pr create --base (branch - follow git-flow convention)
  3. Follow the gh cli to complete the PR process
  4. You should now see the merged branch getting deleted

Reference

About

git-flow on github using github actions along with PR templates

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages