question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

What should the proper workflow be with git-flow

See original GitHub issue

I am new to the whole conventional-“insert-anything-here” part and I really want to do things right. I just read about git-flow, which sounds really reasonable, but when I do a release with it, it tags my release. If I run conventional-github-release or standard-version they do a git-tag as well. NPM version does as well, but I saw I can omit that tag with npm --no-git-tag-version version.

Could someone just give me a proper workflow to:

  • Start a feature branch
  • After I’m done with the feature, create the changelog and merge the feature
  • Do a feature release This can be easily done with git-flow and conventional-changelog, right? The version release on GitHub I can do manually, because conventional-github-releaser I think does a tag as well or something, not sure anymore.

But what if I want a major release? Git-flow will do a tag, then maybe generate changelog with conv-changelog and do a new version with npm version

If Someone would give me a proper workflow for common scenarios, that would be awesome, because I am really confused with all the different cli tools in the conventional- family.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:9 (3 by maintainers)

github_iconTop GitHub Comments

3reactions
dobromir-hristovcommented, Jun 30, 2017

http://digital-cult.com/releasing-js-library-github-git-flow-conventional-commits/ Take a look if you have the time. Thank you for your awesome work!

1reaction
dobromir-hristovcommented, Jun 28, 2017

git flow release finish release-name -n skips tagging. After that I can change to master, merge with develop (because there is a merge branch commit there), then run standard-version. I could have some hooks in git or npm to add versions in banners in my js or what not. Then I can push everything and only one tag is created. Am I right this time 😄

Read more comments on GitHub >

github_iconTop Results From Across the Web

Git Workflow | Atlassian Git Tutorial
A Git workflow is a recipe or recommendation for how to use Git to accomplish work in a consistent and productive manner. Git...
Read more >
Beginner's Guide to proper Git Workflow | by Anjula Paulus
Git is a distributed version-control system for tracking changes in source code during software development.It is designed for coordinating work ...
Read more >
5 Git workflow best practices you've got to use [2021] - Raygun
1. Rebase Git workflow · 2. git add -p · 3. Keeping your branches tidy · 4. Git reset-hard · 5. Escape greater...
Read more >
Git Workflow Guide with Examples for Pros - Toptal
Git Workflows for Pros: A Good Git Guide. Git can support your project not just with version control, but also with collaboration and...
Read more >
How to use Git Flow | Learn Git - GitKraken
Learn about the Git Flow workflow, including what it is, how to use Git flow, and compare it to other Git branching strategies...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found