github 사용하기

Jan 02, 2024
github 사용하기
 
로컬 저장소 (Local Repository)
내 pc에서 작업된 프로그램 파일이 있는 개인 저장소
 
원격 저장소 ( Remote Repository)
공유와 관리 목적으로 원격 서버로 저장되어 관리되는 형태의 저장소
 
notion image
git remote add origin (주소)
 
입력된 주소를 변경하는 코드
git remote set-url origin (주소)
 
주소를 삭제하는 코드
git remote rm origin
 
먼저 로컬컴퓨터와 github에 연결한다.
 
notion image
 
주소는 github code에서 확인할 수 있다.
 
 
git remote -v
 
원격지(github) 연결된 것 확인
notion image
git push origin master
notion image
 
github에 업로드가 되는 중
 
notion image
 
github에 업로드가 된 것을 확인할 수 있다.
Share article
RSSPowered by inblog