gpt4 book ai didi

git - git -q pull 和 git pull 有什么区别?

转载 作者:行者123 更新时间:2023-12-05 09:23:03 25 4
gpt4 key购买 nike

我在一个关于 git cronjob 的问题上看到了这个问题,其中使用了 git -q pull origin master。但是我根本找不到关于 -q 参数的作用的任何信息?使用有什么区别,例如:git pull origin master vs git -q pull origin master

这个参数对 git push 命令有影响吗?

最佳答案

注意:git -q pull 不会工作。

git command本身没有-q参数。

git pull做:

git pull -q origin master

即使它不是 fully quiet :

It is actually only "quiet" if no problems are found

If unmerged error occurs, output is seen on BOTH stdout and stderr.

另请参阅“Can git operate in “silent mode”?

关于git - git -q pull 和 git pull 有什么区别?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24297814/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com