#개요
git 저장소에서 코드를 변경하고, 변동된 해당 코드를 내 로컬 서버로 가져오고 싶다면?
1. 저장소 연결
- $ git clone <레파지토리 주소>
git clone https://github.com/sinsksms7/practiceBoard.git
2. pull 명령어
- $ git pull <branch 이름> master
git pull origin master
// 이름을 youtuber로 했다면, git pull youtuber master
3. push 명령어
git push
'Git' 카테고리의 다른 글
[Git] 브랜치 이름 변경 (0) | 2025.02.20 |
---|---|
[Git] 프로젝트 git 연동 순서 (0) | 2025.02.19 |
[Git] 로컬에 있는 프로젝트 git에 업로드 / push / 올리기 (0) | 2020.10.08 |