相关疑难解决方法(0)

Cygwin或Git Bash命令窗口?

我是Git的新手.我下载了Git并安装在我的Windows上.我看到Git提供了一个Git Bash命令窗口.我的机器上也安装了Cygwin.Git Bash和Cygwin都提供了Git命令行实用程序.所以我的问题是:哪一个是使用Git命令的首选方法:在Git Bash或Cygwin中运行Git命令?

git cygwin git-bash

33
推荐指数
1
解决办法
4万
查看次数

如何在windows Git shell中运行./script.sh?

也许这很尴尬,但是当我在Git shell中工作时,我无法在Windows上运行.sh文件.可能我必须安装一些东西,但我认为Git将支持该bash命令(我知道Windows不使用sh文件).

我做的安装步骤从GameClosure$ ./install.sh与应用程序选择一个窗口中打开SH文件出现(比如,当你试图打开Windows未知文件,它会询问什么应用程序来打开这个你想使用).我试过用Git shell打开它,但是失败了... 我需要做什么才能运行这个文件并从GameClosure教程继续安装步骤?**

这是一个截图(波兰语提醒,但我想你们都知道这个消息). 截图(波兰语)

windows git bash shell

7
推荐指数
1
解决办法
3万
查看次数

如何使用"GitHub for Windows"克隆Subversion存储库?

我安装了GitHub for Windows,并且想知道我是否可以使用随"GitHub for Windows"附带的"Git Shell"克隆Subversion存储库.

试错

我尝试了以下方法:

  1. Windows>开始>所有程序> GitHub,Inc> Git Shell
  2. 从Git Shell PowerShell窗口: git-svn clone -s http://example.com/my_subversion_repo .

然后,我收到此错误消息:

The term 'git-svn' is not recognized as the name of a cmdlet,
function, script file, or operable program. Check the spelling of the
name, or if a path was included, verify that the path is correct and
try again. At line:1 char:8
+ git-svn <<<<  clone -s  http://example.com/my_subversion_repo .
+ CategoryInfo          : ObjectNotFound: (git-svn:String) [], CommandNotFoundException …
Run Code Online (Sandbox Code Playgroud)

git-svn github-for-windows

5
推荐指数
1
解决办法
2315
查看次数

标签 统计

git ×2

bash ×1

cygwin ×1

git-bash ×1

git-svn ×1

github-for-windows ×1

shell ×1

windows ×1