컴퓨터 관련/Git, GitHub 정보
원격저장소 추가하는방법
보뇨
2022. 11. 19. 10:18
반응형
1. 먼저 아래 에러가 뜰수있기때문에 다음 커맨드 실행
bad numeric config value 'null' for 'commit.gpgsign': invalid unit
git config --global commit.gpgsign false
2. 원격저장소 추가
git remote add upstream https://github.com/joonseolee/sample.git
이후에 git remote -v 로 확인
GitHub - next-step/jwp-qna: QnA 서비스
QnA 서비스. Contribute to next-step/jwp-qna development by creating an account on GitHub.
github.com
3. 원격저장소의 브랜치를 머지! 그럼 끝!
git merge upstream/joonseolee
반응형