반응형 github3 협업 시 충돌 상황 1. remote 저장소 최신화 전 작업한 브런치를 먼저 merge하고 push하려고 하는 경우 local 상황작업 브런치(conflict-test)에서 플로우 작업 브런치에서 commit 후 main(혹은 dev) 브런치로 이동 main(혹은 dev)브런치에 작업 브런치(conflict) merge main(혹은 dev)브런치에서 push $ git push To https://github.com/hopee0411/git-practice.git ! [rejected] main -> main (fetch first) error: failed to push some refs to 'https://github.com/hopee0411/git-practice.git' hint: Updates were reje.. 2023. 5. 25. Github repository 만들기 및 함께할 팀원 추가 Create Repository Repositories -> New 1. repository 이름 2. public : 전세계 모두에게 공개, private : 비공개 Add people 2023. 5. 4. Git token 컴퓨터에 저장하기 setting -> Developer settings -> Personal access tokens -> token(classic) 이동 Generate new token 클릭 후 token 생성 -> token 복사 일반 자격 증명 -> git:https://github.com 이 있으면 여기서 편집 없으면 추가해서 편집 사용자 이름에는 github name 입력 암호에 token값 입력 후 저장 2023. 5. 4. 이전 1 다음 반응형