태터데스크 관리자

도움말
닫기
적용하기   첫페이지 만들기

태터데스크 메시지

저장하였습니다.

svn

Pragmatic Tool/SVN 2009/07/06 07:43

1.저장소 만들기
 mkdir c:\server\SVNRepository
 svnadmin create c:\server\SVNRepository
 
2. 프로젝트 만들기 : 프로젝트를 포함하고 있는 폴더에서 수행한다.
 svn import -m "메지시 추가" . file:///c:/server/SVNRepository/testSVN/trunk 

3. 서버에서 프로젝트 가져오기
 svn co file:///c:/server/SVNRepository/testSVN/trunk testSVN

4. 프로젝트 확인
 svn status 파일명   => 지역 작업본의 상태를 보여준다.
 svn status --show-updates(-u)  => 현재 작업본에서 수정된 정보를 보여준다.
 svn diff 파일명   => 저장소와의 차이를 보여준다.
 svn diff -rHEAD 파일명  => 가장 최근의 리비전과 비교한 정보를 보여준다.
 
5. 변경된 프로젝트 서버에 저장
 svn commit(ci) -m "메시지 추가"  => 파일명을 쓰지 않아도 변경된 파일만 저장소에 저장한다.
           => 버전이 낮을 경우에는 update를 먼저 수행해야 한다.
           => update를 했을때 충돌이 있을 경우에는 해결한 후에 resolved를 수행해야 한다.

6. 메시지 확인
 svn log 파일명
 svn log --verbose 파일명  => 자세한 정보를 보여준다.
 svn log -r5(리비전번호) 파일명  => 리비전 r5에 대한 정보를 보여준다.
 
7. 프로젝트 업데이트
 svn update => 저장소의 최신 내용을 가져와 현재 작업본의 파일과 병합한다.
 
8. 프로젝트 충돌해제 확인
 svn resolved 파일명
 
9. 저장소에 파일추가
 svn add 파일명 => 추가한 후에는 commit을 해주어야 한다.
 svn commit -m "추가 메시지"

10. ssh 사용
 Putty설치 : http://www.chiark.greenend.org.uk/~sgtatham/putty/에서 plink.exe를 다운 받는다.
 다운받은 파일을 c:\windows\system32폴더에 복사한다.
 echo %APPDATA% : 응용 프로그램 자료 디렉토리를 찾는다. 이 안의 Subversion 디렉토리에 있는 config파일을 연다.
10.  
 

top

Trackback Address :: http://www.ssial.com/trackback/295 관련글 쓰기

  1. Chanel Outlet 2011/09/17 21:39 댓글주소 | 수정/삭제 | 댓글

    Time is what you make of it.

  2. Coach Outlet Online 2011/11/15 12:49 댓글주소 | 수정/삭제 | 댓글

    I'm happy I found this blog ! It's very good and thank you for sharing it !

  3. abercrombie fitch 2011/12/13 21:12 댓글주소 | 수정/삭제 | 댓글

    Well, very good post with informative information. I really appreciate the fact that you approach these topics from a stand point of knowledge and information.

  4. abercrombie and fitch 2011/12/13 21:14 댓글주소 | 수정/삭제 | 댓글

    I think the author’s writing is very good, although the point of view a little bit different, but really is a good article, and the author can hope to have time to discuss some problems.

  5. abercrombie fitch Deutschland 2012/02/07 16:57 댓글주소 | 수정/삭제 | 댓글

    This was very informative. I have been reading your blog a lot over the past few days and it has earned a place in my bookmarks.

  6. abercrombie Deutschland 2012/02/07 16:58 댓글주소 | 수정/삭제 | 댓글

    I have been reading your blog a lot over the past few days and it has earned a place in my bookmarks.

Write a comment


◀ PREV : [1] : ... [14] : [15] : [16] : [17] : [18] : [19] : [20] : [21] : [22] : ... [206] : NEXT ▶