Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

关于git commit的更新 #5

Open
green-heart-13 opened this issue Jan 20, 2024 · 0 comments
Open

关于git commit的更新 #5

green-heart-13 opened this issue Jan 20, 2024 · 0 comments

Comments

@green-heart-13
Copy link

在 Git 2.0 版本之后,git commit 命令默认会自动将工作目录中未暂存的更改(即没有使用 git add 添加到暂存区的更改)添加到暂存区,然后再进行提交。这个特性被称为 "simple" 模式,它简化了提交流程,使得不需要显式使用 git add 就能提交更改。
这一点和书中“管理修改”部分不同,请注意!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant