Programing

[git] 원격 저장소 (repository) push

하얀배터리 2023. 4. 12. 23:10
728x90
  1. 원격 저장소에서 리퍼지토리 생성
  •  git init
  •  git add README.md
  •  git commit -m "first commit"
  •  git branch -M main
  •  git remote add origin https://github.com/자신의 깃주소
  •  git push -u origin main
  •  git branch - M main // 브랜치를 main으로 이동
  •  git status // 상태 확인

 

[Web] - [git] - SSH 사용 Github 인증

 

 

 

  

728x90