Git Flow
Last updated
Was this helpful?
Last updated
Was this helpful?
we are using for branch management
Production branch: master
Develop branch: develop
Feature prefix: feature/
Release prefix: release/
Hotfix prefix: hotfix/
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.
generate changelog using