$ git add.
Error:
git: 'add.' is not a git command. See 'git --help'.
Did you mean this?
add
每当我尝试使用“git add”添加所有子目录时。命令,它给出了上述错误。 如果我尝试“git add。”,那么屏幕不会给出任何输出(显示空白)。 例如: $ git add。
答案 0 :(得分:4)
看起来你不会在add和句点之间留下空格。
尝试:
git add -A
要么
sub vcl_init {
new bar = directors.round_robin();
bar.add_backend(cbweb1);
bar.add_backend(cbweb2);
}
sub vcl_recv {
if (req.restarts > 0){
if (req.X-backend == cbweb1 ){
set req.backend_hint = cbweb2;
}
if (req.X-backend == cbweb2 ){
set req.backend_hint = cbweb1;
}
}
else {
set req.backend_hint = bar.backend();
}
set req.X-backend = req.backend_hint
unset req.http.Cookie;
}
sub vcl_deliver {
if(resp.status == 404 && req.restarts < 1)
{
return(restart);
}
}
git的文档: https://git-scm.com/docs/git-add