깃허브 배포 및 수정방법

힐링힐링·2023년 9월 13일
0

테크잇

목록 보기
2/19

내소스 깃허브 배포방법


처음 생성하므로 해당 부분 복사 후 터미널에서 한줄씩 실행

결과

번외) 깃 리모트 된거 확인

git remote -v

번외) 깃 리모트 변경 하기

기존 리포지토리 깔끔하게 pull / push

git pull
git add .
git commit -m "clean push"
git push

기존 리포지토리 remote 제거

git remote remove origin

내소스 깃허브 수정방법

수정 소스 폴터 터미널에 들어가서
-m 은 메세지, . 은 all

git pull origin main
git add .
git commit -m "second commit"
git push -u origin main

profile
재밌겠네 ? 해봐야지 ~

0개의 댓글