Git Flow
we are using GitFlow for branch management
Branches
Production branch: master
Develop branch: develop
Feature prefix: feature/
Release prefix: release/
Hotfix prefix: hotfix/
Setup
FAQ
How to keep your feature branch in sync with your develop branch?
While using GitFlow, it is a good practice to keep your feature branch in sync with the develop branch to make merging easy.
I do the following to keep my feature branch in sync with develop.
Ever annoyed by the long list of local Git branches that are no longer relevant?
Solution:
git remote prune origin
That removes all local branches that have been deleted from remote (typically GitHub) Add --dry-run to merely see a list first to confirm.
Versioning
Changelog
generate changelog using git-chglog
Reference
Last updated