Git Product home page Git Product logo

Comments (11)

snaewe avatar snaewe commented on July 1, 2024

Yes, it works if you copy the file <gitflow-dir>/shFlags/src/shflags to <install-dir>/gitflow-shFlags .

from gitflow.

nvie avatar nvie commented on July 1, 2024

git-flow only needs a running "sh" environment. I don't know MSysGit personally, but if it provides some kind of (POSIX-compliant) shell script interpreter, git-flow should work.

from gitflow.

psampaio avatar psampaio commented on July 1, 2024

I managed to get git flow working with msysGit, but needed some hacks on my setup. First, I copied all the git* files to libexec\git-core. Then replaced shFlags like snaewe mentioned, but <install_dir> for me was also libexec\git-core.

Git flow complained about getopt. I got it from cygwin (package utils_linux*) and copied the getopt.exe to the bin folder. Also had to copy 4 more files from cygwin to the bin folder (cyggcc_s-1.dll, cygiconv-2.dll, cygintl-8.dll and cygwin1.dll).

Like I said in the beginning, this is a hacky solution but it did work for me.

from gitflow.

remcoros avatar remcoros commented on July 1, 2024

This works for me too.

thanks snaewe and psampaio

nvie: maybe you should add this to the FAQ ('for msysgit users:')

from gitflow.

nvie avatar nvie commented on July 1, 2024

Thanks for the tip, I've added a FAQ entry for it.

from gitflow.

ProLoser avatar ProLoser commented on July 1, 2024

Maybe I'm just a noob, but it took me FOREVER to get the msysgit instructions figured out. It may just be because I don't know much at all about how bash works.

msysgit has a bin folder in the root install directory already, so it wasn't necessary to create a usr/local/bin folder.

from gitflow.

bobdia avatar bobdia commented on July 1, 2024

I only used the Cygwin downloader without installing and the files were in different places.

Base was /%packages_dir%/%mirror_name%/release/.

/cygwin/ has cygwin1.dll

/gettext/ has cygintl-8.dll

/libiconv/ has cygiconv-2.dll

/gcc4/libgcc1/ has cyggcc_s-1.dll

/util-linux/ has getopt.exe

from gitflow.

tmadge avatar tmadge commented on July 1, 2024

I know this has been closed a while but this is how I got it to work in Windows:

  1. Install msysgit: http://code.google.com/p/msysgit/
  2. Follow the install instructions in the gitflow readme: https://github.com/nvie/gitflow
  3. Download "git-flow-completion": https://github.com/bobthecow/git-flow-completion
    • Copy "git-flow-completion.bash" from the git-flow-completion zip file to C:\Program Files (x86)\Git\etc
    • Create a new file called "bash_profile" (no extension) in C:\Program Files (x86)\Git\etc and add this one line:

      source "c:\Program Files (x86)\Git\etc\git-flow-completion.bash"

from gitflow.

slowjack2k avatar slowjack2k commented on July 1, 2024

I had have the same issue with git-flow 0.4.2-pre and windows 7 profesional 32bit. It seem's like direname doesn't work right.
I changed line 45 in git-flow
from
export GITFLOW_DIR=$(dirname "$0")
to
export GITFLOW_DIR="C:\Program Files\Git\bin"

Not a fine solution, but it works. It would be great when could set GITFLOW_DIR from outside also.

regards
dieter

from gitflow.

mhart avatar mhart commented on July 1, 2024

@slowjack2k - the issue you're seeing is covered here: #161

from gitflow.

raraodd avatar raraodd commented on July 1, 2024

this works for me @slowjack2k thanks

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.