1-1. 내 개인 repo는 잘 불러와짐
1-2. 로컬에서 private repo 잘 불러와짐
--> 서버 authentication 문제!
sudo git clone '레포지토리 주소'
로 해결2-1. git 인증에서 비밀번호 입력시 실패
remote: Support for password authentication was removed on August 13, 2021. Please use a personal access token instead.
remote: Please see https://github.blog/2020-12-15-token-authentication-requirements-for-git-operations/ for more information.
2-2. 깃 토큰 인증으로 해결
참고: https://amkorousagi-money.tistory.com/entry/Git-personal-access-token
fatal: Unable to create '/home/ubuntu/nunbody_segmentation/.git/index.lock': Permission denied
라고 하면서 fatal error가 뜸
3-1. 해당 repo의 .git의 권한 변경
sudo chown -R <owner>:<group> .git
sudo chmod -R 775 .git
참고: https://stackoverflow.com/questions/14127255/remove-git-index-lock-permission-denied