使用来自 MinGW 的 msysGit,反之亦然 [英] Using msysGit from MinGW and vice versa

查看:24
本文介绍了使用来自 MinGW 的 msysGit,反之亦然的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用 git 作为我的版本控制系统.为此,我安装了 msysGit 来检查我在 MSW 上的存储库.现在我想用 MinGW 编译我的程序,并为我找到了这个问题":当我通过 mingw-get 安装 MinGW 和 MSYS 时,我可以编译我的程序,没问题.但我无法访问 git.当我使用 Git Bash 时,我可以使用 git,但无法编译.

I am using git as my revision control system. To do so, I installed msysGit to checkout my repositories on MSW. Now I want to compile my programs with MinGW and found this "problem" for me: When I install MinGW and MSYS via mingw-get I can compile my program, no problem. But I can not access git. When I use the Git Bash, I can work with git, but can not compile.

是否有可能:

  • 将 MinGW 安装到 Git Bash 中(因为它已经包含了 msys,不是吗?)或者
  • 在两个安装之间设置链接"以使其正常工作.

我更喜欢可以更轻松地使两个软件包保持最新的方式.

I would prefere the way I can keep both packages up to date more easily.

提前致谢:)

推荐答案

你是如何安装 Msysgit 的?您是否在要求设置 PATH 的屏幕中选择了第三个选项?

How did you install Msysgit? Did you choose the third option in the screen where it asks for PATH setup?

(以上截图来自:http://ekkescorner.files.wordpress.com/2010/02/git-windows-msysgit-install-3.png.)

你必须选择第三个选项,甚至第二个就足够了.

You have to choose the third option or even second might suffice.

下面是我的MingW截图

Below is screenshot from my MingW

无论如何,这都是关于在 msysgit 中设置 git.exe 的正确路径,还是我遗漏了什么?

Anyway, it's all about setting proper path to the git.exe in msysgit, or am I missing something?

这篇关于使用来自 MinGW 的 msysGit,反之亦然的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆