GitHub,Git

Git 설정 및 브랜치 생성

까르르꿍꿍 2022. 7. 11. 00:50

*git 설정

git config —global user.name “이름”

git config —global user.email “이메일”

git config --global core.editor nano

git config —list (git 설정 확인)

 

4.git 참여

브랜츠란? “작업의 단위”

브랜치 생성

git checkout -b fix-mnist(브랜치 이름)

브랜치 이동

git checkout master(다른 브랜치 이름도 가능)

브랜치 삭제

git branch -D fix-mnist

푸쉬 레포지토리

git push origin [브랜치 이름]