我正在写一个bash脚本,我需要克隆一个git代表。我该如何做到这一点,当它出现时,它会自动将值yes放入?脚本中的Git克隆
==============================================================================
= NOTICE =
==============================================================================
= RVM has encountered a new or modified .rvmrc file in the current directory =
= This is a shell script and therefore may contain any shell commands. =
= =
= Examine the contents of this file carefully to be sure the contents are =
= safe before trusting it! (Choose v[iew] below to view the contents) =
==============================================================================
Do you wish to trust this .rvmrc file? (/root/The-Three-Little-Pigs-Siri-Proxy/.rvmrc)
y[es], n[o], v[iew], c[ancel]>
的Ubuntu 10.10 32位
什么RVM,为什么它与你的Git干扰克隆? – 2012-02-28 00:27:58
@GregHewgill - 它是Ruby版本管理器。脚本可能会克隆并放入其中。如果该文件夹具有.rvmrc文件,则会触发rvm挂钩。无论如何,删除了git标签并添加了rvm。 – manojlds 2012-02-28 00:37:48
正确,脚本克隆然后将其放入它。 – awmusic12635 2012-02-28 00:39:22