SVN命令行更新代码
命令列表
svn help
查看帮助信息
Available subcommands:
add
auth
blame (praise, annotate, ann)
cat
changelist (cl)
checkout (co)
cleanup
commit (ci)
copy (cp)
delete (del, remove, rm)
diff (di)
export
help (?, h)
import
info
list (ls)
lock
log
merge
mergeinfo
mkdir
move (mv, rename, ren)
patch
propdel (pdel, pd)
propedit (pedit, pe)
propget (pget, pg)
proplist (plist, pl)
propset (pset, ps)
relocate
resolve
resolved
revert
status (stat, st)
switch (sw)
unlock
update (up)
upgrade
使用alias来更新多个目录
alias agcs =svn update [目录1] [目录2]
alias组合多个命令
如果不管命令执行是否成功都往下执行,可以用;
分割多个语句放在一行执行,如果希望前面的执行成功才执行后面的语句,用&&
分割语句。