사용자 도구

사이트 도구


subversion

차이

문서의 선택한 두 판 사이의 차이를 보여줍니다.

차이 보기로 링크

다음 판
이전 판
subversion [2013/01/14 10:18]
kwon37xi 새로 만듦
subversion [2022/07/01 16:11] (현재)
kwon37xi
줄 1: 줄 1:
 ====== Subversion/SVN ====== ====== Subversion/SVN ======
   * [[http://stackoverflow.com/questions/331388/svn-replace-trunk-with-branch|version control - svn: replace trunk with branch]]   * [[http://stackoverflow.com/questions/331388/svn-replace-trunk-with-branch|version control - svn: replace trunk with branch]]
 +  * [[http://code.tutsplus.com/articles/better-subversion-practices--cms-22895|Better Subversion practice]]
 +
 +===== Properties =====
 +  * ''svn propget 프라퍼티명 로컬저장소디렉토리'' : 프라퍼티 확인
 +  * ''svn propset 프라퍼티명 로컬저장소디렉토리'' : 프라퍼티 값 저장
 +  * ''svn propedit 프라퍼티명 로컬저장소디렉토리'' : 프라퍼티 값을 편집기로 열어서 편집(여러 값을 지정할때 편리)
 +
 +===== svn:ignore =====
 +특정 파일 버전관리에서 제외하기
 +<code sh>
 +svn propset svn:ignore target_folder_or_file
 +
 +# 여러 파일 필요시 아래 명령으로 직접 편집하는게 낫다
 +# svn propedit svn:ignore .
 +</code>
 +
 +===== svn:externals =====
 +  * SVN 저장소에 다른 저장소를 properties로 추가하여 연결할 수 있다.
 +  * [[http://blog.jmfeurprier.com/2009/12/10/simple-introduction-to-svn-externals/|Simple introduction to SVN externals]]
 +  * [[http://svnbook.red-bean.com/en/1.0/ch07s03.html|svn:externals definitions]]
 +
 +<code sh>
 +# 프로젝트 디렉토리로 이동하여
 +
 +# 추가할 저장소 지정. 마지막에 "." 주의. 아래 명령은 최종 실행한 한개의 저장소만 추가된다.
 +svn propset svn:externals "http://svn.3rdapp.com/super-library/ library" .
 +
 +# 다음 명령으로 편집기를 열어 "저장소URL 로컬Directory" 형태로 여러줄에 걸쳐 여러 저장소를 직접 추가할 수 있다.
 +svn propedit svn:externals .
 +</code>
 +
 +===== shelve =====
 +  * [[git|git]]의 ''stash'' 처럼 일시적 상태 저장 기능.
 +  * [[https://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-dug-shelving.html|Shelving]]
 +  * [[https://lunchballer.com/archives/1284|TortoiseSVN의 Shelve기능으로 하던 일 안전하게 저장하기 – Lunchballer]]
  
subversion.1358126326.txt.gz · 마지막으로 수정됨: 2013/01/14 10:18 저자 kwon37xi