Skip to content

关于git commit的更新 #5

Description

@green-heart-13

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions