깃배쉬에서 변경 후 깃허브로 push 하는 법
- 깃허브에 repository 생성
- 깃배쉬에서
git clone "repository url"
-
바탕화면에 저장해둔 git 폴더에서 파일 추가/변경
혹은 깃배쉬에서 vi로 -
깃배쉬에서 작성
git pull git add . git config user.name "이름" git config user.email "이메일" git commit -m "메세지" git push origin master
+) 강제로 push하고 싶을때
git push -f origin master