Search

Git 초기 설정 완료

유형
기타
Date
2023/03/03
프로젝트
git branch 생성 명렁어 순서
1.
git clone 주소
2.
git branch bjh
3.
git switch bjh
4.
코딩 작업 후 저장
5.
git add .
6.
git commit -m “first commit”
7.
git push --set-upstream origin bjh
code수정 후 git 명령어 순서
1.
자기 브랜치에 커밋 git add . git commit -m 'commit' git push
2.
개발브랜치에 풀&업로드 git checkout 개발브랜치 git merge bjh 충돌날경우 eclipse에서 수정 후 저장 git checkout bjh git add git commit git push
3.
개발브랜치에서 내 브랜치로 코드 받아오기 git checkout bjh git pull origin develop