問題:
Recently I've been unable to clone or push to github, and I'm trying to find the root cause.最近我一直無法克隆或推送到github,我正在努力尋找根本原因。
This is on windows這是在窗戶上
I have cygwin + git as well as msysgit.我有 cygwin + git 以及 msysgit。
Msysgit was installed with the following options: Msysgit 是使用以下選項安裝的:
- OpenSSH開放式SSH
- Use Git from Windows Command Prompt從 Windows 命令提示符使用 Git
That gives me 4 environments to try to use git in:這給了我 4 個嘗試在以下環境中使用 git 的環境:
- Windows cmd prompt Windows cmd 提示符
- Powershell電源外殼
- Git Bash git bash
- Cygwin賽格溫
Somehow I've managed to get myself into a position where when I try to clone a repository using msysgit, cmd.exe, or Powershell, I get the following error:不知何故,我設法讓自己處於這樣一個位置:當我嘗試使用 msysgit、cmd.exe 或 Powershell 克隆存儲庫時,出現以下錯誤:
> Initialized empty Git repository in
> C:/sandbox/SomeProject/.git/
>