Comments (11)
Yes, it works if you copy the file <gitflow-dir>/shFlags/src/shflags
to <install-dir>/gitflow-shFlags
.
from gitflow.
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.
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.
This works for me too.
thanks snaewe and psampaio
nvie: maybe you should add this to the FAQ ('for msysgit users:')
from gitflow.
Thanks for the tip, I've added a FAQ entry for it.
from gitflow.
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.
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.
I know this has been closed a while but this is how I got it to work in Windows:
- Install msysgit: http://code.google.com/p/msysgit/
- Follow the install instructions in the gitflow readme: https://github.com/nvie/gitflow
- 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.
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.
@slowjack2k - the issue you're seeing is covered here: #161
from gitflow.
this works for me @slowjack2k thanks
from gitflow.
Related Issues (20)
- git flow tag message will be changed
- Pull deveop origin before creating branch
- 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
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.