'설정'에 해당되는 글 1건

  1. 2012.03.13 [Tip] gitweb 설치 및 셋팅
배움2012. 3. 13. 15:21
KLDP에 관련 내용이 위키로 올라와 있길래, 내용 참조해서 다시 정리-

설치
# apt-get install gitweb

프로젝트 설정

/var/cache/git 에서
# ln -s /path/to/repo.git repo.git
/var/www에서
# ln -s /usr/share/gitweb/* .


사용
http://localhost/cgi-bin/gitweb.cgi 에서 페이지 확인


참조
http://kldp.org/node/100726


TIPS
원격 저장소 설정
$ git config branch.master.remote ssh://server/path-to-repo/proj.git
위처럼 설정해주면 push, pull 명령어 뒤에 원격 저장소를 명시하지 않아도 됨

Posted by DANIEL.H.KIM