티스토리 뷰

728x90
git init
git add .
git commit -m "init project"

git remote add origin https://github.com/seunggabi/repo.git

git remote -v
git remote set-url origin https://github.com/seunggabi/repo.git
git push origin

https://geoseong.tistory.com/59

 

Git : 원격 repository의 연결 url 변경

참고url : https://help.github.com/articles/changing-a-remote-s-url/ Git : 원격 repository의 연결 url 변경 맨 처음 로컬에 Git repository를 아래처럼 세팅 했을 때를 전제하고 아래 연결 url을 변경한다...

geoseong.tistory.com

stackoverflow.com/questions/25503017/why-does-git-tell-me-no-such-remote-origin-when-i-try-to-push-to-origin

 

Why does Git tell me "No such remote 'origin'" when I try to push to origin?

I am very new to Git; I only recently created a GitHub account. I've just tried to push my very first repository (a sample project), but I'm getting the following error: No such remote 'origin' ...

stackoverflow.com

 

728x90

'공부' 카테고리의 다른 글

[CS] `_` (underscore) variable name  (0) 2020.04.03
[Python] LINE Message Bot  (0) 2020.04.03
[Python] install; venv  (0) 2020.04.03
[Java] Download filename encoding `UTF-8`  (0) 2020.04.03
[iBatis] escape `#` & `$`  (0) 2020.04.03
댓글