개발 관련/GitHub

GitHub 커밋 안 까먹기 위한 포스팅

아렉스_Arex 2021. 4. 23. 18:39
반응형

git config --global user.email "dkanrjskTmrh@naver.com"

git config --global user.name "kangddong"

 

위치가 다른경우 cd c:/users/DY/Desktop/diretory

 

git init

 

git status

 

if commit 할게 있다면

빨간불 들어온다.

 

git add * or git add fileName

 

git remote add origin https://github.com/kangddong/python_study.git

 

git push origin master

 

-END-

 

git commit -m "commit"

 

--commit & push difference--

 

commit은 로컬저장소의 변경 사항을 최신화 시키는 것?

push는 원격저장소인 git에 수정 사항 반영시키는것 #push를 하지않으면 git에 upload가 되지않는거네?