github desktop에서
분명히 수정한 파일인데 No content changes found라는 오류가 발생했다.
그리고 commit하려고 하면
Your branch is up to date with 'origin/main'.
이라는 오류가 떠 commit도 할 수가 없다
git bash로 commit하면 되긴 해서 찾아보니
github desktop에서만 발생하는 문제로 추측된다.
여러 사이트에서
줄바꿈 문제다,
git config.core~ 을 사용해라 등
제시해줬던 해결방법을 모두 해봤지만 해결이 되지 않았다.
해결방법
github desktop내에서 repository를 remove한다음
다시 github desktop과 repository를 연결했더니 해결되었다.
repository Remove
-> Add버튼
-> Add existing repository
-> Local Path(컴퓨터에 저장되어 있는 git파일 경로) 입력
-> Add repository
안될 경우
> git config core.filemode false
https://stackoverflow.com/questions/66300887/github-desktop-always-shows-no-content-changes-found
> 사이트 참고
https://github.com/desktop/desktop/issues/3987
해보고 다시 remove repository및 add repository하기