Code Monkey home page Code Monkey logo

Comments (7)

portellaa avatar portellaa commented on August 15, 2024 1

Awesome idea 🎉 👍

Perhaps it could read the repository configuration for git and check for gitflow section. For example git config --local --get-regexp gitflow

from lazygit.

jesseduffield avatar jesseduffield commented on August 15, 2024 1

It has been quite a long time since this issue was raised but as part of my 'Road to 1.0' project I've put up a PR for this: #579

Currently only starting/finishing branches is supported, and it requires the program 'git-flow' to be installed. Let me know if there's any changes you guys would like to see :)

from lazygit.

jesseduffield avatar jesseduffield commented on August 15, 2024

I agree! Open to ideas on how best to design that. For a start, I'm thinking something like upon new branch if you're branching off of master/another hotfix branch it defaults to hotfix and likewise with develop -> feature. But given that some people wouldn't want that, I'm thinking that functionality should be a configurable option that defaults to off. Which reminds me, I gotta get started on making things configurable!

from lazygit.

jukefr avatar jukefr commented on August 15, 2024

I'd be glad to help out with a PR at some point on this issue when I have the time.
I'm currently learning Go so this could be some nice practice.

I'll start looking into the theory and update this issue with some pointers that might be useful in the meanwhile.

from lazygit.

hubertba avatar hubertba commented on August 15, 2024

me too ... git flow would be great ...I could also help ..

from lazygit.

jesseduffield avatar jesseduffield commented on August 15, 2024

closing :)

from lazygit.

mcakircali avatar mcakircali commented on August 15, 2024

The usage of --local while grabbing the git-flow prefixes causes false failure for the local/global mixed configs, see below.

global  gitflow.prefix.feature feature/
global  gitflow.prefix.release release/
global  gitflow.prefix.hotfix hotfix/
global  gitflow.prefix.support support/
global  gitflow.prefix.versiontag
local   gitflow.branch.master main
local   gitflow.branch.develop develop

from lazygit.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.