Open 5FB5 opened 1 year ago
@5FB5, https://github.com/Murmele/Gittyup/issues/490#issue-1616687308
It will be very useful to have a git flow support, 'cause it's hard to develop stuff without it
Do you mean https://fadamakis.com/git-flow-4f4b7148d19d?
@5FB5, do you mean https://fadamakis.com/git-flow-4f4b7148d19d?
Yep)
I don't really understand what it's about. Do you think you could concisely summarise for laymen like me, @5FB5?
This is a way of maintaining a repository. The basic principle is that there is a master branch, where the final working code is introduced, when developing new functions, a develop branch is created, where the code is less stable, but working, and completely unstable functions are transferred to the feature branch. There are also additional release branches for final code revision and hotfix branch for making quick fixes to the final code. So the main task is to init repository as git flow repo with already generated master (main) and develop branches with easy creating of additional branches. For example you can try git client like SmartGit or Fork (works on Win)
Fork example - https://git-fork.com/blog/page/4/ About git flow - https://nvie.com/posts/a-successful-git-branching-model/
If we are serious about git-flow, all we need is the ability to identify the current state WRT git-flow.
That can be done by looking at the branch name, usually by the prefix (feature/..
, hotfix/..
, release/..
, etc).
Once the current state is distinguished, the UI can adapt following what git-flow sub-commands offer.
Just to point out what @codemedic said implicitly: Git Release Notes: v2.21.0 Comes with git-flow v1.12.3.
This means you can use commands starting with git flow
with any git installation younger than five years.
Using git-flow to automate your git branching workflow gives a nice overview about the topic (if you ignore the "installing git-flow" part).
Checking the state regarding git-flow can also be done using those subcommands. Eg. git flow feature
will list all existing feature branches or return "No feature branches exist."
It will be very useful to have a git flow support, 'cause it's hard to develop stuff without it