小编Von*_*onC的帖子

使用 msysgit 和 .ssh 密钥在 Windows 7 上使用 git 的问题

我在我的 Ubuntu 机器上使用 git 和我现有的 ssh 密钥。

现在我必须在 Windows 7 上使用 Git,并且需要使用相同的密钥对。
我已经设置了 msysgit 并.sshUsers\username\.ssh.
我已将我的密钥对从 Ubuntu 的.ssh文件夹复制到此文件夹。

但是当我尝试克隆 Git 存储库时,它会停止并要求输入密码。
根据一些教程,在 msysgit 安装期间我应该有一些关于 的选项ssh,但我没有看到。
你有什么建议来解决这个问题吗?

ssh windows-7 git msysgit public-key

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

第一次尝试安装和创建新的 git 存储库 - 我认为断开的工作网络驱动器正在创建问题

我安装了Windows 7。
C:\是本地驱动器。 H:\是一个工作网络驱动器,每次启动时都会不断重新安装。我已经学会了在我在家进行任何编码或安装与编码相关的应用程序时断开它,因为我往往会遇到问题。

我第一次安装了 Git 并尝试创建一个存储库。
它给了我以下错误:

error: could not lock config file H:\/.gitconfig: No such file or
directory error: could not lock config file H:\/.gitconfig: No such
file or directory
     while executing "exec {C:/Program Files/Git/libexec/git-core/git-config.exe} --global --add
 gui.recentrepo C:/Users/bmyhre/Desktop/Testing/projects/skeleton"
     ("eval" body line 1)
     invoked from within "eval exec $opt $cmdp $args"
     (procedure "git" line 23)
     invoked from within "git config --global --add gui.recentrepo $path"
     (procedure "_append_recentrepos" line 16)
     invoked from within "_append_recentrepos [pwd]"
     (procedure "_git_init" line …
Run Code Online (Sandbox Code Playgroud)

windows git installation

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

标签 统计

git ×2

installation ×1

msysgit ×1

public-key ×1

ssh ×1

windows ×1

windows-7 ×1