Troubleshooting Git

less than 1 minute read

There isn’t anything to compare. A and B are entirely different commit histories

문제

  • Pull Request 하려는데 gh-pagesmaster가 안됨

원인

  • 말 그래도 완전히 다른 커밋 히스토리여서, 비교할 것이 없다는 것
  • gh-pages 브랜치는 Github Pages 가이드 따라 docs 하위에 생성되고, master 브랜치는 docs 같은 디렉토리 없이 생성
  • 따라서 원래 히스토리 위에 다시 커밋하면, 브랜치를 비교할 수 있게 된다

해결

Updated: