[Git] PUSH / PULL

JONGYOON JEON·2024년 2월 16일
0

Git

목록 보기
4/5

중요한건 origin 을 넣어서 등록
git remote add origin <remote_repo_url>

git remote rename <기존 이름> <변경 이름>
git remote set-url <기존 url> <변경 url>
git remote set-url origin <변경 url>
git remote remove origin

git remote -v 등록한 것들 보임

git remote show <repo_name>

pull

Remote Repository의 작업 내용을 Local Repo 에 동기화 하기
사실은 Fetch / Merge 과정

git pull origin main

push

Local repo > Remote repo 로 보냄

git push origin main 
profile
효율적인 걸 좋아해요

0개의 댓글