본문 바로가기
GIT/Github

git 자주 쓰는 명령어

by Rainbound-IT 2021. 8. 3.
반응형

 

 

 

자주 쓰는 명령어

 

git 가져오기 위한 clone

git clone [branch name]

 

 

git push 할때

git add .

git commit -m

git push

 

 

git branch 확인 및 branch 변경

git branch

git checkout [branch]

 

 

 

git 업데이트 하기위해 pull

git pull

빌드는 서버에 올릴 수 있는 상태로 만드는 것을 빌드라고 합니다.

 

 

정보확인

git show 최근 커밋한 정보 나오는듯

 

 

git config --list 여러 설정정보 나온다.

 

git remote update - 새로고침

 

특정브랜치만 클론 : git clone -b [branch_name]  [repository url]

반응형

'GIT > Github' 카테고리의 다른 글

git 개념  (1) 2022.06.09
pull 에러  (0) 2022.02.03
Updates were rejected because the tip of your current branch is behind  (0) 2022.02.02
Git 배우기 (메뉴얼, 설명서?)  (0) 2021.08.26
작업폴더 github 연동  (0) 2021.08.11

댓글