카테고리 없음
[Git - Server] 원격 저장소 만들기
심심한 낙지
2019. 8. 29. 16:08
SMALL
목록
1) 저장소 폴더 생성 : sample.git
$ mkdir -p /home/git/repo/sample.git/
$ cd /home/git/repo/sample.git/
$ git init --bare --shared
2) 외부에서 sample.git 프로젝트를 받는 명령어
$ git clone ssh://[유저아이디]@[서버아이피]:[포트]/[저장소경로]
ex) git clone ssh:/git@192.168.136.122/home/git/repo/sample.git
LIST