github 레포지토리 생성 및 연결

~_~·2022년 7월 10일
  1. 깃허브 홈페이지 접속 후 왼쪽 Recent Repositories 옆에 New 버튼 클릭 or 오른쪽 상단 + 버튼 누른 후 New repository 클릭
  2. Repository name 작성 후 Create repository 버튼 클릭
  3. 깃에 올릴 소스파일이 있는 폴더에서 git init
  4. git remote add origin "레포지토리 주소 입력"
  5. git add "파일명"
  6. git commit -m "커밋 메시지"
  7. git push origin "브랜치명"

0개의 댓글