Ubuntu(Debian)에 Gitosis Install

Updated: December 10, 2009 | categories: git, linux | View Comments

Install package가 gitosis 계정을 자동으로 만들어준다. 긴 이름 대신에 짧은 이름이 낫기 때문에 gitosis 계정 대신 git 로 변경한다. git 계정은 passwd는 필요하지 않지만, 유효한 shell을 가져야만 로긴이 된다.

gitosis를 관리한 local host 에서 ssh-keygen을 이용하여 public SSH를 key를 등록한다.

Read more...
Read and Post Comments

Git 배포를 위한 압축파일 만들기

Updated: December 04, 2009 | categories: git | View Comments

git-archive명령은 프로젝트 내의 어떤 버젼에서도 tar또는 zip 압축 파일을 만들 수 있다. 예를들어,

위 명령은 HEAD 버젼에 해당하는 tar archive 파일을 모으는데, 모든 파일의 앞에다가 emacs/가 추가 된다.

Read more...
Read and Post Comments

Git Tips

Updated: December 04, 2009 | categories: git, linux | View Comments

현재 Working tree에서 untracked file을 지우는 명령어

git push 할때 default 지정

Read more...
Read and Post Comments