gpt4 book ai didi

windows - github for windows 每天崩溃几次

转载 作者:可可西里 更新时间:2023-11-01 13:52:17 25 4
gpt4 key购买 nike

我最近开始通过他们的本地 Windows 应用程序在 Github 上工作,它非常好,但是它经常崩溃,可怕的是我在崩溃后丢失了所有最近的更改。所有本地文件将回滚到成功提交或同步的最后一个版本。

我在 64 位 Windows 8 机器上。有什么想法吗?

崩溃后的确切错误是Couldn't find a HEAD in this repository

最佳答案

我向 GitHub 发送了一封电子邮件以获得 Windows 支持。他们的回答是这样的:

Hi David,

I am sorry for the trouble.

I have been able to reproduce this problem, and have filed a report for our developers to look at. The reason the application is crashing is likely due to merge conflicts between the local and remote repositories.

The easiest way to resolve this would be to go into the repository that is saying 'failed looking for HEAD', closing that pop-up, and clicking Tools -> Open a Shell Here.

  • From the shell, you can run 'git reset --merge' to undo the merge that caused GitHub for Windows to crash.
  • From there, run 'git checkout master' to switch from the detached HEAD.
  • After that, run 'git pull' in the shell to pull down any new changes. It will prompt you to fix any merge conflicts (which is what caused the app to crash).

Once you fix the merge conflicts in the files, you should then be able to sync correctly in GitHub for WIndows.

I have been testing this issue, and after I resolved the conflicts with the initial crash, I no longer had any further trouble with GitHub for Windows. It correctly prompted me to open the shell and resolve merge conflicts rather than crashing.

Let me know if you have any further questions, and hopefully we will have a fix out for this soon.

Best, Steve

关于windows - github for windows 每天崩溃几次,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12780095/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com