本文介绍了什么是“git add -A:/”做?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我看到有同事使用 :只有/ 。根据,最后一个参数是 pathspec 的。它的定义见。让我引用相关部分(我把重要句子加粗):

You can see that if a pathspec begins by :/ or :(top) then that part of the pathspec is by definition the root of the working tree.

git add :/ stages all files in the working tree.

这篇关于什么是“git add -A:/”做?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

05-27 17:49
查看更多