Let's go

SVN的一些操作

一丶

.csproj文件夹必须提交

Revert Changes 撤销

二丶迁移SVN

首先安装SVN服务端,

选中数据仓库,右键进行备份

接着进行还原:参考官网

 

 

主干、分支

创建主干后,右键主干

 

 

 

 

 

 

 

 

分支更新主干代码

 

 

必填 

 

@echo off
::    
:: Stops commits that have empty log messages.
::

@echo off

set svnlook="C:/Program Files/VisualSVN Server/bin/svnlook.exe"
setlocal

rem Subversion sends through the path to the repository and transaction id
set REPOS=%1
set TXN=%2

rem check for an empty log message
%svnlook% log %REPOS% -t %TXN% | findstr . > nul
if %errorlevel% gtr 0 (goto err) else exit 0

:err
echo. 1>&2
echo 提交日志消息不能为空 1>&2
echo 请写一条日志消息,描述您的更改和更改的目的 1>&2
exit 1

 

posted @ 2018-08-16 10:48  chenze  阅读(143)  评论(0编辑  收藏  举报
有事您Q我