Git terminating a thread with a message that contains spaces

How can I provide a real message git flow release finish?

This is what my attempt and its output look like this:

> git flow release finish -m 'Release 0.0.4 - Fixing a bug' 0.0.4
flags:FATAL the available getopt does not support spaces in options

The only way to make it work when I don't use spaces in the message.

+5
source share
3 answers

Try the git stream version command.

If you have something like 0.X, an easy way to get this working is to use the new CLI for git-flow

You can find it here:

https://github.com/petervanderdoes/gitflow/wiki

So for me (on MacOsX) the solution was:

sudo brew unlink git-flow 
sudo brew install git-flow-avh
+4
source

I have the same problem, but I get another error message:

$ git flow release finish -m 'Release 0.0.4 - Fixing a bug' 0.0.4
fatal: too many params
Tagging failed. Please run finish again to retry.

, , , , , script.

:

  • git (git )
  • git
  • git

, , , Ubuntu.

$ echo 'Release 0.0.4 - Fixing a bug' > .git/MY_TAGMSG
$ git config core.editor "mv .git/MY_TAGMSG"
$ git flow release finish 0.0.4
$ git config --unset core.editor
+3

gitflow? , get-opt. :

gitflow:

$git clone git://github.com/nvie/gitflow.git

$cd gitflow

$git svn clone -r HEAD http://shflags.googlecode.com/svn/trunk/source/1.0 shFlags

$ sudo make install

Install gnu-opt from Homebrew:

$ brew install gnu-getopt

$ echo 'export FLAGS_GETOPT_CMD = "$ (brew --prefix gnu-getopt) / bin / getopt"' → ~ / .bashrc

$. ~ / .bashrC # pay attention to the period then ~ / .bashrc or just start a new terminal

$ echo $ FLAGS_GETOPT_CMD

Should return something ending in "bin / getopt" and then try your command.,.

+1
source

All Articles