less than 1 minute read

  • 깃허브에 repository 생성
  • 깃배쉬에서 git clone "repository url"
  1. 바탕화면에 저장해둔 git 폴더에서 파일 추가/변경
    혹은 깃배쉬에서 vi로

  2. 깃배쉬에서 작성

    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

Categories:

Updated: