Git

Git Remote 변경

hjkang

기존 Repository Pull&Push

git pull
git add .
git commit -m "clean push"
git push

 

 

기존 Repository Remote 제거

git remote remove origin

 

 

새 Repository Remote 추가

git remote add origin https://github.com/계정/리포지토리

 

 


참고

- https://gist.github.com/480/4681b67d2a906db8c6c1321cc678f05f

 

'Git' 카테고리의 다른 글

[Git] Commit Message 수정  (0) 2024.12.21
GitHub Pages로 배포  (0) 2023.11.09
Git 기본  (0) 2023.05.08
Git 계정 분리  (0) 2022.09.27