Closed cso6005 closed 1 year ago
git 페이지에서 Contributors 추가
git bash 실행
로컬 컴퓨터에서 협업할 repository 를 내 로컬로 가져오기 - clone
git clone {주소}
git branch {만들 branch명} # 브랜치 생성
git checkout {옮기고 싶은 branch}
git status # 상태 확인 git diff # 변경 사항 확인 git log # 로그 확인
git status #확인 git pull origin main # main 의 상태 로컬에 반영
git fetch origin git merge
git status # 확인 git add {올릴 파일명, 수정된 파일명} # 파일 추가 git status # 또 확인 git commit -m '커밋내용' # commit git push origin {올릴 브랜치} # push 올리기.
git commit
git config --global core.editor "code --wait"
vsc 로 commit 작성
깃허브 웹에서 브랜치 확인 & Pull Request & Merge
브랜치
git 페이지에서 Contributors 추가
git bash 실행
로컬 컴퓨터에서 협업할 repository 를 내 로컬로 가져오기 - clone
vsc 로 commit 작성
깃허브 웹에서 브랜치 확인 & Pull Request & Merge
브랜치