【发布时间】:2021-12-18 12:04:44
【问题描述】:
当我尝试通过 Visual Studio 提交更改时,我收到了以下消息:
Git:执行失败
当我推送我的项目时,控制台日志Everything up-to-date。
当我输入 git status 时,我有以下日志:
On branch main
Your branch is up to date with 'master/main'.
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git restore <file>..." to discard changes in working directory)
(commit or discard the untracked or modified content in submodules)
modified: backend (modified content)
no changes added to commit (use "git add" and/or "git commit -a")
此外,在 Github.com 上,我无法访问某些文件夹,右侧有一个箭头(如果被问到,我可以张贴图片或指向我的仓库的链接)。
直到昨天一切正常,但我不明白问题出在哪里。
【问题讨论】:
-
您在 committing 时报告了一个问题,另一个与 pushing 相关,第三个与 Github 上的文件夹访问有关的问题。最好不要将这些问题混在一个问题中。