Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有没有办法在 RCS 中更新文件时自动添加评论?例如,我正在编写一个脚本,其中一个函数将 co -la 文件,进行更改,然后 ci -u。现在,RCS 等待输入评论。我希望自动添加评论,这样脚本就不会停止。这甚至可能吗?
接受消息字符串的-m选项。ci后面不允许有空格-m:
-m
ci
ci -u -m'This is a message' file