自从昨天以来,我的专业电脑遇到了一个大问题:我无法使用
我尝试过以下方法:
另一件奇怪的事情是:现在在一个Git存储库上,我在Git Shell中没有看到当前存储库:
通常,我的CLI长这样:
我认为问题是软件方面的,因为出现问题之前我刚刚更新了“entreprise”套餐。 我的配置:Windows 8.1专业版,使用Github for Windows并使用Git shell.
如果有人有修复此问题的想法或如何调试此命令,请告诉我。 编辑
git pull
命令。这真的很奇怪,因为其他所有的git命令都可以正常工作。我尝试过以下方法:
- 重新安装Github for Windows、Git Shell等软件...
- 查看是否能够访问远程服务器(git push可以工作,我可以ping远程服务器)。
GIT_TRACE=1 git pull
返回结果如下:$ GIT_TRACE=1 git pull
trace: exec: 'git-pull'
trace: run_command: 'git-pull'
另一件奇怪的事情是:现在在一个Git存储库上,我在Git Shell中没有看到当前存储库:
MY_USER@MY_COMPUTER /c/Github/myRepo
$
通常,我的CLI长这样:
:
MY_USER@MY_COMPUTER /c/Github/myRepo <develop>
$
我认为问题是软件方面的,因为出现问题之前我刚刚更新了“entreprise”套餐。 我的配置:Windows 8.1专业版,使用Github for Windows并使用Git shell.
如果有人有修复此问题的想法或如何调试此命令,请告诉我。 编辑
git remote-v
返回:$ git remote -v
origin https://MY_USER@git-SI.enterprise.fr/PROJECT/windows/PROJECT_repo.git (fetch)
origin https://MY_USER@git-SI.enterprise.fr/PROJECT/windows/PROJECT_repo.git (push)
git status
的返回结果为:
$ git status
# On branch develop
# Your branch is ahead of 'origin/develop' by 1 commit.
# (use "git push" to publish your local commits)
#
nothing to commit, working directory clean
git fetch
是否正常工作? - VonCgit fetch
可以工作。 - Joffrey Kern