git - Git 尝试暂存 5000 多个文档
问题描述
我在我的计算机上遇到了 github 的问题。它从我在我的 Mac 上安装 brew 开始,我今天还在一个程序文件夹中使用了 git init 以便将它推送到我的仓库,但这是我以前做过的事情。当我运行时git status
,这就是我得到的:
On branch master
No commits yet
Untracked files:
(use "git add <file>..." to include in what will be committed)
.DS_Store
.Trash/
.bash_history
.bash_sessions/
.cache/
.config/
.docker/
.eclipse/
.kube/
.oracle_jre_usage/
.ssh/
.subversion/
.tooling/
.vscode/
Applications/
Desktop/
Documents/
Downloads/
Library/
Movies/
Music/
Pictures/
Public/
eclipse-workspace/
git/
go/
google-cloud-sdk/
mydockerbuild/
mydockerbuild2/
出于某种原因,它试图将我的整个 PC 推送到 github,这使得我的 VS 代码的功能越来越少(没有打开完整的文档等)。对于我使用 git clean -f on 的其他几个文件,它也有这个,但出于明显的原因,我不想删除其中的任何一个。请帮忙!另外,我刚开始使用 git,所以如果我不明确,请放慢我的脚步。
解决方案
推荐阅读
- apache-flink - Flink 将 TTL 添加到现有值状态
- c# - 使用语音识别时 C# 不必要的输入
- ruby-on-rails - 使用 Rspec 使用错误数量的参数(给定 2,预期为 1)在 get :index 中测试失败
- spring - 如何在 @Validated @Service 注释的服务方法中自动装配 bean
- mysql - 当其中一个字段包含逗号分隔数字时,如何在 mySQL 中使用 GROUP_CONCAT?
- python - 如何在 yocto 构建期间从 bitbake bb 文件执行 python 脚本
- mongodb - 无法连接到谷歌云 vm 实例上的 mongodb 副本集
- python - 在终端中找不到 Tesseract
- css - 如何修复 vue cli 中未找到模块的错误?
- java - 将十六进制字符串转换为字节数组