Git & GitHub/Git

Git & GitHub/Git

[Git] git 명령어

1. 자주 쓰는 Git 명령어 # 현재 directory 의 모든 파일을 Staging Area 로 이동 git add . # file 들의 tracking 상태 보기 git status # Staging 의 파일들 commit 하기 git commit -m "messsage" # 저장소에 commit 반영하기 git push # 저장소에서 commit 가지고 오기 git pull # remote origin의 development branch merge git merge origin/development # 한 줄로 그래프 형태로 commit 히스토리 보기 git log --oneline --graph # remote에서 삭제된 brach를 local 에서도 깔끔하게 삭제 git fetch origin..

각시탈코더
'Git & GitHub/Git' 카테고리의 글 목록