Git repository에 소스를 업로드 하려는데 아래와 같은 에러 발생.
권한 문제라는 답변이 많았으나 나는 해당되지 않음
heseo@source.developers.google.com: Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
git remote -v
로그를 보니 ssh 주소로 설정되어 있음
google ssh://heseo@source.developers.google.com:PORT/p/PROJECT_NAME/r/nyang (fetch)
google ssh://chloe.hong@pandora.tv@source.developers.google.com:PORT/p/PROJECT_NAME/r/nyang (push)
삭제 후 https로 다시 등록
git remote rm google
git remote add google https://ource.developers.google.com:PORT/p/PROJECT_NAME/r/nyang
바로 Push 하라는 안내가 있었는데 먹히지 않음 🚨
git push --all master
결과를 보면 push할게 없다고...
No refs in common and none specified; doing nothing.
Perhaps you should specify a branch.
Everything up-to-date
순리대로 진행한다 🧩
git add *
git commit -m "base source"
git push --all master