Infra
[git]error: failed to push some refs to 'ssh:///.git' git push -u origin mainerror: src refspec main does not match any
뚜둔뚜둔
2022. 2. 18. 16:35
Connection refused
fatal: Could not read from remote repository.
git push -u origin main
error: src refspec main does not match any
ㅠㅠ 왜 잘되던게 새로운 플젝에 적용이 안되지...했는데 아래 3가지 해보니 됐당... 아마 브런치가 꼬였던거 같지만
새로 플젝 연결할때 sshgen 연결은 다시 해줘야하니 참고 할 것
1. sshgen 연결해주기
2. 다시 init 해보기
2022.01.25 - [MLops] - [GitLab] gitLab에 프로젝트 올리기
3. 브랜치를 새로 파서 사용하기
git checkout -b 'newbranch'
git push origin newbranch
반응형