git command
1) git 데이터 받기 (일반)
git clone [URL]
2) git 데이터 받기 (branch)
git clone -b [branch name] --single-branch [URL]
3) git 데이터 올리기 (branch)
; 새로 생성된 파일 올리기
git add .
; 현재 상태 확인
git status
; local 에 commit 하기
git commit -a -m "description"
; git repository 에 연결하기
git remote add [link name] [url]
; git repository 로 실제 올리기
git push [link name] [branch name]
4) git 데이터 지우기 (branch)
; 파일 지우기
git rm -r [folder name]
; local 에 commit 하기
git commit -a -m "description"
; git repository 로 실제 올리기
git push [link name] [branch name]
댓글
댓글 쓰기