본문 바로가기
Git

[Git] clone,push,checkout

by whitedeveloper 2023. 2. 3.

#.clone

-사용할 깃의 작업물들을 로컬로 내려받을  때 사용

-git clone {git address}

 

 

#.push

#.git add .

#.git commit -m "commit메세지"

#.git push origin {maste(branch 명)}

 

#checkout

-별도로 만든 브랜치를 이용하여 작업을 수행하려면, 이 브랜치를 사용하겠다고 명시적으로 지정해주어야 한다.

-git checkout {branch name}

'Git' 카테고리의 다른 글

[GIT]gitlab -> github미러링  (0) 2023.03.10
[GIT] Coding Convention  (0) 2023.03.06
[GIT]branch 생성 및 변경  (0) 2023.03.06