Comments (16)
Closing this, as this has the same cause (under the hood) as issue #28.
from gitflow.
I no longer get the fatal flag message but now if I use the -m flag it ignores it and opens the default editor.
git flow release finish '0.1.0' -m 'Testing a release'
Using Ubuntu 10.10 with latest develop branch
from gitflow.
Yeah, the flags should come before the arguments, Unix style. This is an shFlags limitation, I'm afraid.
It might be a an option to error on superfluous arguments (as the -m and the message are treated), but this leads to a whole lot of other issues, I'm afraid. Best for now to stick to good old Unix habits.. :(
Cheers,
Vincent
from gitflow.
Interesting, I hadn't made that connection before with the flags.
I tried this:
git flow release finish -m 'Testing tagging' '0.1.0'
But I get this error now:
fatal: Failed to resolve '0.1.0' as a valid ref.
Tagging failed. Please run finish again to retry.
Running git branch
:
develop
master
* release/0.1.0
Running the command without the -m
flag still works.
from gitflow.
Hmm. I've tested things here on my Mac, but the only thing I get is this:
flags:FATAL the available getopt does not support spaces in options
on the space in the quoted -m
flag value, which scares me even more :)
What OS are you running?
from gitflow.
I'm using Ubuntu 10.10 with the latest from the develop branch.
from gitflow.
Is this related? I'm seeing this on OS X:
➜ ~rvm_rvmrc_cwd git:(hotfix/fix_loc_search_500_on_staging_and_prod) ✗ git flow hotfix finish fix_loc_search_500_on_staging_and_prod
Switched to branch 'master'
Merge made by recursive.
app/controllers/api/locations_controller.rb | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
fatal: no tag message?
Tagging failed. Please run finish again to retry.
from gitflow.
I'm having the same behavior of elight. Right now I have to use git commands to merge and tag, because it do not work.
from gitflow.
also come cross this msg occur:
xds2000@localhost demo$ git flow release finish 'v0.1.0' -m 'Testing a release'
fatal: no tag message?
Tagging failed. Please run finish again to retry.
from gitflow.
@xiaods: Yeah, like said, you should use the -m
flag before the branch name, UNIX style.
from gitflow.
@nvie, i have review this thread list, see our's comments. i suggesting print some hits on it?
from gitflow.
@nvie can you pull these changes? They work for me.
Thanks @Zoramite, I can now do: git flow release finish -m "$MSG" $REL
from gitflow.
Hi,
This issue is really bugging me and seems to be fixed yet when I pull from git hub the latest changes seem to be Dec 06 2011? So I assume I've not got the fix discussed above done in late december ...
Has the github respository not been updated? Or am I doing something wrong to get the latest version?
Ta.
from gitflow.
It has not been updated since Dec 06 2011
from gitflow.
I applied the fix myself, since its just two lines to edit: https://github.com/nvie/gitflow/pull/160/files
- or you could just use @Zoramite's fork.
Perhaps @nvie is otherwise engaged, there do seem to be a large number of forks for Gitflow.
from gitflow.
Thanks, that's great, I'll apply the fix myself.
from gitflow.
Related Issues (20)
- Feature Proposal: Add A Subcommand, "Start"
- sorry
- README link 404
- Is it possible to make custom message during MERGE
- [BUG] "Fatal" error of "Working tree contains unstaged changes" returns zero error code HOT 2
- Branch and all commits lost from local machine and server when interrupting "git flow feature finish" and re-running. HOT 1
- How can I suppress "Summary of actions"
- Is it possible to make git flow merge the master branch into develop instead of the hotfix one on finish? HOT 1
- Error when install from `gitflow-installer.sh` HOT 2
- Will git flow be configurable?such as change the hotfix merging direction from Master&develop to Master&realease HOT 1
- Multiline release tag messages cause problems
- ry 2
- Windows gitflow install link has malware HOT 2
- why can't I clone the gitflow folder? HOT 3
- Can't install in Fedora 36
- Link to probably virus in Wiki
- Dead project: Archiv state and link to replacement HOT 3
- how to work gitflow together with github HOT 1
- RFC: Improving Git Workflow Using Versioning Patterns
- Error install git-flow Rocky Linux 9.3 HOT 3
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 gitflow.