개발정복, 로맨틱. 성공적

SVN CentOs 명령어, directory 생성법 본문

WEB/Etc

SVN CentOs 명령어, directory 생성법

차정뱅이 2020. 11. 2. 09:41
728x90
반응형

- svn Server 실행

svnserve -d -r /home/svn (경로 /home/svn)

 

- svn Server 폴더 생성

svn mkdir svn://localhost/폴더명 -m 'test폴더생성'

 

- 폴더 list 보기

svn list svn://localhost/폴더명

 

- 파일 삭제

svn delete svn://localhost/ -m '삭제'

 

- 파일 정보 보기

svn cat svn://localhost/폴더명/파일명

 

 

svn directory 생성법

 

1. svnserve 폴더 생성

svn mkdir svn://localhost/폴더명 -m 'test폴더생성'

 

2. svn mkdir --parants svn://localhost/폴더명/(각 trunk, branchs, tags) 생성

 

3. cd  /home/svn/repos 로 이동

 

4. vim /home/svn/hooks/post-commit 에서 맨 밑줄에 svn update /home/svn/repos/폴더명 입력

 

반응형