Comments (7)
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.
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.
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.
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.
me too ... git flow would be great ...I could also help ..
from lazygit.
closing :)
from lazygit.
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)
- Not launching in Korean environment with default `language: 'auto'` config HOT 2
- Incorrect parsing of unicode escape codes HOT 1
- awesomewm terminal
- Allow customize Shell & ShellArg in config.yml HOT 2
- Manual and/or Go install commands for lazygit HOT 4
- expandedSidePanelWeight doesn't seem to work HOT 2
- "failed: fatal: detected dubious ownership in repository" when running lazygit on a newly initialized repository on a external drive
- Enable rebasing and patching of commits even when using GPG HOT 2
- Support multiple contexts for a custom command HOT 2
- Panel Selection Inversion HOT 3
- upload to apt repository HOT 1
- Immediately upon launching machine fully locks up HOT 1
- Auto Commit
- Configuration option to remove branch name default from commit message HOT 6
- Configurable yellow commit hash HOT 2
- Relative diff with some branch
- Possible to Fast Forward / Rebase / Merge to an upstream branch? HOT 4
- Conflict resolution panel supports displaying line numbers
- Don't show scrollbars when the entire content is visible HOT 4
- change navigation
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lazygit.