[Git] private 레포 클론 안됨

선영·2025년 1월 24일
0

Git/Github

목록 보기
9/9
post-thumbnail

문제점 및 해결

git clone https://github.com/[repository_owner]/[repository_name].git

위와 같이 클론하려 했는데 아래 메시지가 떴다.

remote: Repository not found.
fatal: repository 'https://github.com/[repository_owner]/[repository_name].git/' not found

그래서 git clone https://[my_github_name]@github.com/[repository_owner]/[repository_name].git 으로 하니까 됐다.

해당 private 레포에 소속된 유저의 이름(my_github_name)을 @github.com 앞에 추가해주면 된다.

참고

https://bumday.tistory.com/28

profile
Superduper-India

0개의 댓글