티스토리 뷰
Update failed
remote: Repository not found.
repository Git URL not found
사내 프로젝트용으로 사용하고 있는 private git 이 있다.
보름 전까지만 해도 push, pull 잘 되던 git 이었는데 갑자기 위와 같은 에러를 출력하며 update 가 되지 않는다.
심지어 소스를 다시 받으려고 clone 을 했는데 이 마저도 되지 않는다.
이런 경우, 기존 Remote URL을 삭제하고, git url 사이에 git hub user name 을 삽입하여 설정하면 해결된다.
git remote remove origin
git remote set-url origin https://GithubUserName@GitURL
'Git' 카테고리의 다른 글
Git 에서 Add 취소하는 방법 (0) | 2023.10.03 |
---|---|
[Git] submodule 포함하여 최신 변경사항 pull 하기 (0) | 2023.01.19 |
[Git] git remote repository 변경 (0) | 2022.04.13 |