- 기존 레포지토리의 데이터를 새로운 레포지토리로 옮기기 위함 입니다.
- git clone
git clone [기존 레포지토리 주소]
- .git 삭제
rm -rf ./.git
- git 초기화
git init
- branch 생성
git branch -M [브렌치 명]
- add commit
git add .
git commit -m "[ADD] commit"
- remote 확인 후 추가
git remote -v
git remote add origin [새로운 레포지토리 주소]
- push
git push -u origin [브렌치 명]