两个命令之间是否存在差异:
svn ci -m "checking in."
和
svn commit -m "checking in."
答案 0 :(得分:5)
命令svn help
将commit
列为快捷命令ci
的命令。它们是等价的。
$ svn help
usage: svn <subcommand> [options] [args]
Subversion command-line client, version 1.8.11.
Type 'svn help <subcommand>' for help on a specific subcommand.
Type 'svn --version' to see the program version and RA modules
or 'svn --version --quiet' to see just the version number.
Most subcommands take file and/or directory arguments, recursing
on the directories. If no arguments are supplied to such a
command, it recurses on the current directory (inclusive) by default.
Available subcommands:
add
blame (praise, annotate, ann)
cat
changelist (cl)
checkout (co)
cleanup
commit (ci)
copy (cp)
...
答案 1 :(得分:4)
文档说ci
只是commit
的快捷方式,所以它们相当于:
http://svnbook.red-bean.com/en/1.7/svn.ref.svn.c.commit.html