gitflow icon indicating copy to clipboard operation
gitflow copied to clipboard

I can't create hotfix from tag.

Open bruli opened this issue 9 years ago • 12 comments

git flow hotfix start version tag_version Fatal: Base 'tag_verson' needs to be a branch. It does not exist and is required.

Any idea?.

bruli avatar Sep 01 '14 14:09 bruli

The params are: git flow hotfix start $version where $version is something like 1.2.3

In your example: "git flow hotfix start version tag_version" you are using an extra param

Why would you like to do a hotfix FORM a tag? hotfixes are always created from master and master should always point to latest tag.

str avatar Sep 01 '14 15:09 str

In git flow doc I can see:

git flow hotfix start VERSION [BASENAME]

Where BASENAME is "master" branch by default. In this case I want use my "tag_version". is correct this option or has changed?.

bruli avatar Sep 01 '14 15:09 bruli

In this case I want use my "tag_version".

As the error message says, you can’t apparently use a tag as base for your hotfix but have to use a branch. I guess what you are trying to do is open a support branch rather than a hotfix.

kaimi avatar Sep 01 '14 19:09 kaimi

In another computer (windows) with git flow version 0.4.2-pre that is possible. In my computer with ubuntu and git flow version 1.6.1 (AVH Edition) is not possible.

Has changed between versions?.

Enviado con MailTrack https://mailtrack.io/install?source=signature&lang=es&[email protected]&idSignature=23

Saludos cordiales. Pablo.

Si lo reenvías, ten la precaución de borrar los datos de procedencia que encabezarían tu reenvío – empezando por mi dirección de correo electrónico - . Coloca siempre las direcciones de tus contactos en el campo <CCO> para que viajen discretas, no en el campo <Para> ni en el<CC>. De esa forma nadie que lo reciba tendrá constancia de las señas de los demás destinatarios a los que también se remite. Todo ello a fin de evitar que nadie se aproveche de todas las direcciones que se van acumulando al pasar de buzón a buzón para el lanzamiento de correo basura y otras indeseadas lindezas. Aparte claro está de garantizar la privacidad.

2014-09-01 21:31 GMT+02:00 ka’imi [email protected]:

In this case I want use my "tag_version".

As the error message says, you can’t apparently use a tag as base for your hotfix but have to use a branch. I guess what you are trying to do is open a support branch rather than a hotfix.

— Reply to this email directly or view it on GitHub https://github.com/nvie/gitflow/issues/375#issuecomment-54087118.

bruli avatar Sep 02 '14 08:09 bruli

Also works in 0.4.1. And 0.4.1 allows to make a release from a specific commit, which is very useful. I hope this was not broken or removed...

dmitryd avatar Nov 19 '14 09:11 dmitryd

I also got the same problem. The version is 1.8.0 under ubuntu

hhzzk avatar May 19 '15 06:05 hhzzk

See https://github.com/petervanderdoes/gitflow/issues/173

petervanderdoes avatar May 19 '15 20:05 petervanderdoes

+1

pmcalmeida avatar Jan 12 '17 17:01 pmcalmeida

+1

tequlia2pop avatar May 22 '17 03:05 tequlia2pop

+1

jagadish-kb avatar May 23 '17 04:05 jagadish-kb

+1

cagriar avatar Nov 15 '17 07:11 cagriar

+1 git version 2.16.2.windows.1

chhh avatar Mar 08 '18 21:03 chhh