hexo-deployer-git icon indicating copy to clipboard operation
hexo-deployer-git copied to clipboard

deploy指令需要更新了

Open RanchoCooper opened this issue 8 years ago • 1 comments

如下

warning: 在 Git 2.0 版本,位于一个子目录下不带任何路径参数地执行命令
'git add --all (或 -A)' 的行为将被改变,不要再继续使用了。
如果要添加整个目录树的内容,执行:

  git add --all :/
  (或 git add -A :/)

如果要限制该命令只作用于当前目录,执行:

  git add --all .
  (或 git add -A .)

对于当前版本的 Git,这条命令只作用于当前目录。

RanchoCooper avatar Jun 08 '16 18:06 RanchoCooper

This issue was moved to hexojs/hexo-deployer-git#38

leesei avatar Jun 24 '16 03:06 leesei

经过检查,本插件并不会“位于一个子目录下”执行git命令。本插件总是会以.deploy_git为工作目录执行git add,因此git add -A行为的改变不会影响本插件的工作。

stevenjoezhang avatar Mar 31 '24 06:03 stevenjoezhang