[英]How do I do '--all' the default for git-fetch?
当我运行git-fetch时,我希望它默认为'--all'模式。 有没有办法做到这一点?
我想别名可以解决问题:
$ git config alias.fa 'fetch --all'
$ git fa # fetches all remotes
我没有在git fetch
手册页和git config
手册页中看到默认情况下强制--all
选项的方法。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.