Git Product home page Git Product logo

Comments (6)

ikaschenko avatar ikaschenko commented on July 19, 2024 1

Had a problem while running "git flow init" on existing repo clone under win 7:

$ git flow init
C:\Program Files (x86)\Git\bin\git-flow: line 69: ./gitflow-common: No such file or directory
C:\Program Files (x86)\Git\bin\git-flow: line 78: ./gitflow-shFlags: No such file or directory

The problem was in wrong detection of current directory in "c:\Program Files (x86)\Git\bin\git-flow" file. A correction which allowed to work this around:
a) comment line 45: # export GITFLOW_DIR=$(dirname "$0")
b) added a line just after it with manually set abs path: export GITFLOW_DIR="c:\Program Files (x86)\Git\bin"

from gitflow.

nvie avatar nvie commented on July 19, 2024

That's odd. Could you paste the output of the following command here?

DEBUG=yes git flow init

from gitflow.

maxcrees avatar maxcrees commented on July 19, 2024

Sure. The output was quite lengthy, so I saved it to a file. The command that was run was:

echo "master" | DEBUG=yes git flow init &> git-flow.log.txt

And the output was saved here.

from gitflow.

nvie avatar nvie commented on July 19, 2024

This should be fixed in 871f5ed. Is was due to the fact that you probably have ANSI color output always enabled, even for non-TTY commands.

This patch shuts all color output of Git commands up.

from gitflow.

maxcrees avatar maxcrees commented on July 19, 2024

Confirmed fix in 871f5ed.

from gitflow.

jesalg avatar jesalg commented on July 19, 2024

Thanks @ikaschenko! I was having the same problem on Win7, your suggestion did the trick.

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.