명령어
명령어 정리
| 명령어 | 설명 | 예시 |
|---|---|---|
ls |
파일 목록 출력 | ls -al |
cd |
디렉토리 이동 | cd ~/Documents |
git add |
변경 사항 스테이징 | git add . |
git commit |
커밋 생성 | git commit -m "메시지" |
git push |
원격 저장소에 푸시 | git push origin main |
| 명령어 | 설명 | 예시 |
|---|---|---|
ls |
파일 목록 출력 | ls -al |
cd |
디렉토리 이동 | cd ~/Documents |
git add |
변경 사항 스테이징 | git add . |
git commit |
커밋 생성 | git commit -m "메시지" |
git push |
원격 저장소에 푸시 | git push origin main |