Skip to content

Seop2/projectGit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

자주 쓰는 Git 명령어 정리

저장소 초기화

git init

원격 저장소 연결

git remote add origin <원격저장소URL>

변경 사항 확인

git status

파일 스테이징

git add <파일명>
git add .

커밋 생성

git commit -m "커밋 메시지"

브랜치 목록 확인 및 생성

git branch
git branch <브랜치명>

브랜치 이동

git checkout <브랜치명>

브랜치 생성과 이동

git checkout -b <브랜치명>

원격 저장소에서 변경 사항 가져오기

git pull

변경 사항 원격 저장소에 반영

git push

로그 확인

git log

About

Inflearn git

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages