upstream pull & push

김정민·2023년 3월 30일
0

Aid web

목록 보기
2/13

다음과 같은 과정으로 upstream에 pr을 하는 과정에서

1.포크하고 싶은 git hub 저장소를 포크한다

  1. 클론한다

  2. upstream과 orgin 원격저장소를 리모트한다

  3. 로컬저장소로 upstream을 pull 한다.

  4. 브랜치를 만든다(feature /test_jmk)

  5. 수정한다

  6. origin에 수정사항을 반영한다.

  7. pull request 하기

7.pr하는 과정에서 계속 문제가 있었다

포크한 레포지토리에 test브랜치로 push 한 후에 pull request를 하려고 하면

there isn't anything to compare 라는 화면만 뜨고 pr생성을 할 수 가 없었다. 변경된 내용이 없어서 그런가 하고 commit을 한번 더 해보려고 하니

On branch feat/test_jmk

Changes not staged for commit:

(use "git add ..." to update what will be committed)

(use "git restore ..." to discard changes in working directory)

(commit or discard the untracked or modified content in submodules)

modified: AID_WEB (modified content)

no changes added to commit (use "git add" and/or "git commit -a")

사진과 같은 에러가 뜬다.

profile
computer science engineering

0개의 댓글

Powered by GraphCDN, the GraphQL CDN