반응형

사용하는 입장에서의 명령어 모음

 

PX4를 예시로 해보자.

 

깃 저장소 복사해오기

git clone "git 주소"

예시 (현재는 1.11 버전이 Master 버전이다.)

git clone https://github.com/PX4/Firmware.git

 

깃 저장소 특정 가지 branch 복사해오기

git clone --single-branch "git 주소" "branch 이름"

예시 (1.10 버전을 복사해온다)

git clone --single-branch https://github.com/PX4/Firmware.git  release/1.10

728x90

+ Recent posts