Gittyup icon indicating copy to clipboard operation
Gittyup copied to clipboard

Git Flow support

Open 5FB5 opened this issue 2 years ago • 7 comments

It will be very useful to have a git flow support, 'cause it's hard to develop stuff without it

5FB5 avatar Mar 09 '23 08:03 5FB5

@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?

RokeJulianLockhart avatar Jul 22 '23 15:07 RokeJulianLockhart

@5FB5, do you mean https://fadamakis.com/git-flow-4f4b7148d19d?

Yep)

5FB5 avatar Jul 26 '23 21:07 5FB5

I don't really understand what it's about. Do you think you could concisely summarise for laymen like me, @5FB5?

RokeJulianLockhart avatar Aug 08 '23 20:08 RokeJulianLockhart

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/

5FB5 avatar Aug 10 '23 17:08 5FB5

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.

codemedic avatar Oct 06 '23 13:10 codemedic

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."

silmaril42 avatar Feb 05 '24 14:02 silmaril42