What does “git commit -vam ” accomplish?

后端 未结 3 673
执念已碎
执念已碎 2021-01-29 16:23

I would like to ask what does the command \"git commit -vam \"message\" \" accomplish, because I have seen no difference with the command \" git commit

3条回答
  •  面向向阳花
    2021-01-29 16:56

    As per the git-commit documentation, the "v" option causes the command to be verbose.
    The important change with "-vam" is that the "a" option make

    git add -u
    

    before git commit.

提交回复
热议问题