2014-07-14 1 views

답변

1

는 자식 설명서 페이지에 따르면 theese 명령은 동일하다 :

$ git help clone 
.... 
--branch <name>, -b <name> 
Instead of pointing the newly created HEAD to the branch pointed to by the cloned repository’s HEAD, point to <name> branch instead. In a non-bare 
repository, this is the branch that will be checked out. --branch can also take tags and detaches the HEAD at that commit in the resulting 
repository. 
.... 

당신이 -b을 볼 수 있고 --branch 그냥 동의어로. 누락 된 내선 번호 .git (첫 번째 경우)은 자동으로 결정되고 (프로토콜 을 고려) 매개 변수 순서는 중요하지 않습니다.