git config --global user.name "gusdh"
git config --global user.email "[email protected]"
git config --global --list

1. 저장소 처음 받을 때 (처음 한 번)

git clone

👉 GitHub → 내 PC로 프로젝트 전체 다운로드

gitclone <https://github.com/사용자명/저장소명.git>

예:

gitclone <https://github.com/gusdh1123/workFlow.git>

📌 이때 생기는 것

➡️ 처음만 clone

2. 이미 clone 한 프로젝트에서 최신 코드 받기

git pull

👉 원격(origin)의 변경사항을 내 브랜치로 가져오기

git pull

또는 명시적으로

git pull origin main

📌 언제 쓰냐?