这两个命令有区别吗:
and
svn ci -m "checking in."
and
svn commit -m "checking in."
命令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)
...
文档称ci
只是commit
的快捷方式,因此它们是等效的:
http://svnbook.red-bean.com/en/1.7/svn.ref.svn.c.commit.html