ETC

깃허브 저장소 수정 혹은 초기화가 필요할 때

yemsu 2020. 4. 1. 09:43

1. 기존의 히스토리 전체 삭제

rm -rf .git


2. git 다시 생성 후 연결

git init git add README.md git commit -m "first commit" git remote add origin https://(저장소 주소) git push -u origin master