#새로운 저장소 초기화 bash 상에서 루트로 진입한이후

git init

 

#초기 설정 

git config --global user.name 계정명

git config --global user.email email계정

 

#깃 클론

git clone https://깃주소명

 

#깃 파일추가

git add 파일명

git add .  : 전체파일을 추가

 

#깃 commit 

git commit -m "커밋시 메모"

 

#push 업로드

git push

 

#git 상태확인

git status

+ Recent posts