Giter Club home page Giter Club logo

Comments (61)

LeydenJar avatar LeydenJar commented on May 26, 2024 5

You can now use git flow <thing> delete <nameOfTheThing>

from gitflow.

nvie avatar nvie commented on May 26, 2024 3

I would propose the following. If it is merged already in develop/master, but the branch pointer remains:

git flow release delete 1.0.2

To delete branched that are yet unmerged with develop/master (in order to avoid accidental deletion):

git flow release delete -f 1.0.2

from gitflow.

geoom avatar geoom commented on May 26, 2024 2

please, stop commenting just "+1", it's 2020 and Github already introduced emojis for this purpose ๐Ÿ‘

from gitflow.

yeco avatar yeco commented on May 26, 2024 1

Wow, can't believe this is still a thing. It's been almost 8 years waiting for this command.

from gitflow.

ishapkin avatar ishapkin commented on May 26, 2024 1

@geoom
image

+1

from gitflow.

nvie avatar nvie commented on May 26, 2024

That would be a good extra command.

PS: It is indeed the correct way to delete a branch. (Remember, git-flow doesn't do any hidden magic, it's just an implementation of the rules from the original blog post!)

from gitflow.

tianon avatar tianon commented on May 26, 2024

Ah, indeed. I would be quite happy with that functionality of the feature.

I was unsure about that being the correct procedure because it seemed like when I tried it, the commits I'd made to the deleted branch got merged into develop anyways, which really annoyed me, but I managed to take care of it and move along. Just to be clear, this would/should completely remove the entire branch and all its commits, given the -f flag, correct?

from gitflow.

nvie avatar nvie commented on May 26, 2024

Strictly speaking, it removes the branch object, which points to a commit (which points to a commit, which points to a commit, etc.). As long as you have any other branches pointing at one of those commits (like origin/feature/foo maybe), the commits will stick around. Otherwise, they'll be garbage collected eventually. That's just Git behaviour.

from gitflow.

tianon avatar tianon commented on May 26, 2024

Hmm, oh well. I must have screwed something up. Thanks for explaining, though!

from gitflow.

dngreene avatar dngreene commented on May 26, 2024

+1 this feature. I'm trying to use git-flow to use the release candidates as our sprint deliverables, to be pushed to the testing environment, while maintaining master as the production codebase. In other words, in our environment, most release candidates will NOT be getting 'finished' to go to master - but all should be able to... so once a production release has been identified, I'd like to end the other release branches...

from gitflow.

kwerle avatar kwerle commented on May 26, 2024

+1

from gitflow.

 avatar commented on May 26, 2024

+1

from gitflow.

nexeck avatar nexeck commented on May 26, 2024

+1

from gitflow.

billymeltdown avatar billymeltdown commented on May 26, 2024

+1

from gitflow.

douggrubba avatar douggrubba commented on May 26, 2024

+1

from gitflow.

petervanderdoes avatar petervanderdoes commented on May 26, 2024

+1 and I decided to implement this on my fork, currently only in the develop branch. Also added the ability to remove the remote branch as well.

from gitflow.

atian25 avatar atian25 commented on May 26, 2024

+1 for this, is this feature supported now?

from gitflow.

DArrigoni avatar DArrigoni commented on May 26, 2024

+1

Used this thread to figure out how to do it but would prefer built in method

from gitflow.

netcriptus avatar netcriptus commented on May 26, 2024

It's been 2 years now... any chance it will get done? It's a good feature, I think.

from gitflow.

despairblue avatar despairblue commented on May 26, 2024

+1

from gitflow.

zubinmehta avatar zubinmehta commented on May 26, 2024

+1

from gitflow.

nzajt avatar nzajt commented on May 26, 2024

+1

from gitflow.

baby-gnu avatar baby-gnu commented on May 26, 2024

Hello, it's already available in Peter van der Does fork with several other improvements.

from gitflow.

RajuBhosale avatar RajuBhosale commented on May 26, 2024

+1

from gitflow.

snapshotpl avatar snapshotpl commented on May 26, 2024

+1

from gitflow.

dbaba avatar dbaba commented on May 26, 2024

+1

from gitflow.

jcamacho14 avatar jcamacho14 commented on May 26, 2024

+1

from gitflow.

mcplusa avatar mcplusa commented on May 26, 2024

+1

from gitflow.

millejano avatar millejano commented on May 26, 2024

+1

from gitflow.

mborho avatar mborho commented on May 26, 2024

+1

from gitflow.

fehmicansaglam avatar fehmicansaglam commented on May 26, 2024

+1

from gitflow.

armanm avatar armanm commented on May 26, 2024

+1

from gitflow.

numeraltwo avatar numeraltwo commented on May 26, 2024

+4 (myself and my team @ work)! ^_^

from gitflow.

Frully avatar Frully commented on May 26, 2024

+1

from gitflow.

Sangoku avatar Sangoku commented on May 26, 2024

+2

from gitflow.

0xqd avatar 0xqd commented on May 26, 2024

@nrvs lolz :D
๐Ÿ‘

from gitflow.

tarciozemel avatar tarciozemel commented on May 26, 2024

+1

from gitflow.

tullo avatar tullo commented on May 26, 2024

๐Ÿ‘

from gitflow.

gandazgul avatar gandazgul commented on May 26, 2024

+1

from gitflow.

douglasresende avatar douglasresende commented on May 26, 2024

๐Ÿ‘

from gitflow.

francesco-carrella avatar francesco-carrella commented on May 26, 2024

+1

from gitflow.

elcodedocle avatar elcodedocle commented on May 26, 2024

+1

from gitflow.

wmayner avatar wmayner commented on May 26, 2024

+1

from gitflow.

yeco avatar yeco commented on May 26, 2024

+1

from gitflow.

occasl avatar occasl commented on May 26, 2024

+1

from gitflow.

ipimpat avatar ipimpat commented on May 26, 2024

+1

from gitflow.

ethzero avatar ethzero commented on May 26, 2024

+1

from gitflow.

tchemit avatar tchemit commented on May 26, 2024

This is implemented in avh edition.

from gitflow.

ishapkin avatar ishapkin commented on May 26, 2024

+100500

from gitflow.

hunaczech avatar hunaczech commented on May 26, 2024

+100501

from gitflow.

piotrekzawada avatar piotrekzawada commented on May 26, 2024

+1

from gitflow.

Preen avatar Preen commented on May 26, 2024

+1

from gitflow.

apapegay-kimple avatar apapegay-kimple commented on May 26, 2024

+1

from gitflow.

jedmarcnocum avatar jedmarcnocum commented on May 26, 2024

+1

from gitflow.

Zanzi92 avatar Zanzi92 commented on May 26, 2024

+1

from gitflow.

run26kimo avatar run26kimo commented on May 26, 2024

+1

from gitflow.

diogoan avatar diogoan commented on May 26, 2024

+1

from gitflow.

srsalute avatar srsalute commented on May 26, 2024

+1

from gitflow.

lisbethw1130 avatar lisbethw1130 commented on May 26, 2024

wow, after nine years, this is still a thing
really need this feature

from gitflow.

petervanderdoes avatar petervanderdoes commented on May 26, 2024

This is implemented in https://github.com/petervanderdoes/gitflow-avh It's backwards compatible with this version but adds many improvements and new features.

Disclaimer: I'm the project lead for Gitflow AVH Edition

from gitflow.

gohackfelipe avatar gohackfelipe commented on May 26, 2024

+1

from gitflow.

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.