What is the meaning of :/ (colon, forward slash) in the 2.0 version of git add --update syntax?

后端 未结 4 547
粉色の甜心
粉色の甜心 2020-12-16 19:02

I upgraded Git a couple months ago and since then I\'ve been receiving the following deprecation notice upon attempting git add --update:

4条回答
  •  醉酒成梦
    2020-12-16 19:52

    The first answer is not completely correct. In the context of git-add, the :/ cannot be a revision. It is a pathspec. See my answer to the related question "What does "git add -A :/" do?".

    pathspec is defined in gitglossary(7).

提交回复
热议问题