问题描述
我们的一位贡献者在使用 GitHub 桌面时遇到了问题。当他们尝试推送最近的更改时,会出现以下错误
On branch main
Your branch is up to date with 'origin/main'.
Changes not staged for commit:
(use "git add/rm <file>..." to update what will be committed)
(use "git restore <file>..." to discard changes in working directory)
deleted: Assets/Audio/Temporary Audio Files (Delete these and this folder when replaced).Meta
deleted: Assets/Audio/Temporary Audio Files (Delete these and this folder when replaced)/DoorCloseHardWood_S011FO._1.wav
deleted: Assets/Audio/Temporary Audio Files (Delete these and this folder when replaced)/DoorCloseHardWood_S011FO._1.wav.Meta
deleted: Assets/Audio/Temporary Audio Files (Delete these and this folder when replaced)/DoorOpenLatch_S08FO.878.wav
deleted: Assets/Audio/Temporary Audio Files (Delete these and this folder when replaced)/DoorOpenLatch_S08FO.878.wav.Meta
deleted: Assets/Audio/Temporary Audio Files (Delete these and this folder when replaced)/Footstep_temp.mp3
deleted: Assets/Audio/Temporary Audio Files (Delete these and this folder when replaced)/Footstep_temp.mp3.Meta
deleted: Assets/Audio/Temporary Audio Files (Delete these and this folder when replaced)/Mosnter voice in apartment .wav
deleted: Assets/Audio/Temporary Audio Files (Delete these and this folder when replaced)/Mosnter voice in apartment .wav.Meta
deleted: Assets/Audio/Temporary Audio Files (Delete these and this folder when replaced)/Possible Track.mp3
deleted: Assets/Audio/Temporary Audio Files (Delete these and this folder when replaced)/Possible Track.mp3.Meta
deleted: Assets/Audio/Temporary Audio Files (Delete these and this folder when replaced)/Talking behind door .wav
deleted: Assets/Audio/Temporary Audio Files (Delete these and this folder when replaced)/Talking behind door .wav.Meta
deleted: Assets/Audio/Temporary Audio Files (Delete these and this folder when replaced)/Wood Door Knock.mp3
deleted: Assets/Audio/Temporary Audio Files (Delete these and this folder when replaced)/Wood Door Knock.mp3.Meta
deleted: Assets/Audio/Temporary Audio Files (Delete these and this folder when replaced)/ambience 1 Nick .wav
deleted: Assets/Audio/Temporary Audio Files (Delete these and this folder when replaced)/ambience 1 Nick .wav.Meta
modified: Assets/Scenes/mirror level first draft.unity
Untracked files:
(use "git add <file>..." to include in what will be committed)
Assets/Audio/Placeholder Audio.Meta
Assets/Audio/Placeholder Audio/
no changes added to commit (use "git add" and/or "git commit -a")
我们已经尝试使用 add 命令,以及 add -A 和 git commit -a 都没有成功。
在使用上述任何命令“成功”添加文件后,当我们尝试通过命令行推送时,我们被告知文件已经是最新的。
还有一点需要注意的是,在 GitHub 桌面中,用户现在会在提取按钮下看到“Origin never fetched”,即使他们在此问题开始发生之前就已经进行了提取和拉取。
除了我们尝试过的命令行命令之外,我们还重新安装了 GitHub 桌面,注销/重新登录到 GitHub 桌面,并删除并重新添加了用户作为贡献者。
在今天之前,该用户通过 GitHub 桌面推送/提交没有问题。
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)