-
Git 명령어 - stash 작업중인 파일을 임시 브랜치를 생성하여 보관합니다. 예제 git stash
Git 명령어 - checkout 원하는 브랜치로 이동할 수 있습니다. 예제 git checkout # git checkout hello
Git 명령어 - branch 프로젝트의 브랜치를 관리할 수 있습니다. 예제 # 브랜치 목록 조회 git branch # 브랜치 생성 git branch -c # 브랜치 제거 git branch -D
Git 명령어 - fetch git remote add 를 통해서 추가한 원격 저장소를 최신 버전으로 업데이트 합니다. 예제 git fetch # git fetch staging # git fetch origin
Git 명령어 - commit git add 명령어를 사용하여 커밋 리스트에 추가된 파일을 커밋합니다. 예제 git commit -m '아이콘 추가'
Git 명령어 - remote add 원격 저장소를 추가하기 위해 사용하는 명령어 입니다. 예제 git remote add # git remote add staging https://github.com/HJ-Template/template-github # git remote add origin https://github.com/HJ-Template/template-github
Git 명령어 - add 프로젝트 내에서 파일을 수정한 다음 수정된 파일을 커밋 리스트에 추가합니다. 예제 git add # git add index.html # git add icons
Git 명령어 - clone 프로젝트를 다운받을 때 사용합니다. 예제 git clone # git clone https://github.com/HJ-Template/template-github