gpt4 book ai didi

git - git add 后未上演的更改

转载 作者:太空狗 更新时间:2023-10-29 13:49:41 24 4
gpt4 key购买 nike

为什么我在运行 git add . 后会在 Changes not staged for commit 中得到项目?

> git add .
> git st

# Changes not staged for commit:
# (use "git add <file>..." to update what will be committed)
# (use "git checkout -- <file>..." to discard changes in working directory)
# (commit or discard the untracked or modified content in submodules)
#
# modified: bin/ls-- (modified content, untracked content)
#

这是在 Red Hat 4.1.2-50 上与 git 1.7.10。

最佳答案

尝试 git add -A 然后检查状态以提交

关于git - git add 后未上演的更改,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14368755/

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