2012-12-03 2 views
0
에서 원격 REPO를 만들 수

힘내에서 이러한 명령의 차이점은 (VCS 도구) 무엇 :다른 명령이 망할 놈의

$ git init --bare 
$ git init --bare --shared 
$ git init --bare --shared=group 

당신이 나에게 설명해 주시겠습니까? 남자 페이지에서

답변

1

:

--shared[=(false|true|umask|group|all|world|everybody|0xxx)] 
     Specify that the git repository is to be shared amongst several users. This allows users belonging to the same group to push into that repository. When 
     specified, the config variable "core.sharedRepository" is set so that files and directories under $GIT_DIR are created with the requested permissions. When 
     not specified, git will use permissions reported by umask(2). 

당신에 대해 의아해 정확히 무엇입니까?

+0

터미널에 'man git'명령을 사용했지만 해당 줄을 보지 못했습니다! 어디에서 가져 왔니? –

+1

@hd. 'man git-init'에서 온 것입니다 –

+1

또는'git init --help' (Git 명령과 함께'--help'를 사용할 수 있습니다) –