Skip to content

Latest commit

 

History

History
28 lines (21 loc) · 850 Bytes

File metadata and controls

28 lines (21 loc) · 850 Bytes

Github Study

초대하기

  • create new repository (깃허브)
  • Inviete a collaborator (깃허브)

Git 클론하기

  • git clone git_path (명령어)

새로운 Branch 만들기

  • git branch branch_name (명령어)
  • git checkout branch_name (명령어)
  • git push -u origin branch_name (명령어)

나의 코드 저장하고 저장소에 올리기

  • git add . (명령어)
  • git commit -m "commit info" (명령어)
  • git push (명령어)

공용 저장소에 내 코드 병합 요청하기

  • Compare & pull request (깃허브)

공용 저장소와 브랜치 합치기

  • Merage pull request (깃허브)

합쳐진 공용 저장소 불러오기

  • git pull (명령어)
  • git push (명령어 / This branch is 1 commit behind main. 해결방법 / 새롭게 만든 Branch에서)