본문 바로가기

포트폴리오/sublimeText

깃허브 저장소 초기화!!



1) 기존의 모든 히스토리 삭제

	
rm -rf .git
	

2) 현재 소스들로 git repository 다시 생성하기

	
git init

git add README.md

git commit -m "first commit"

git remote add origin https://(저장소 주소)

git push -u origin master