반응형
# 깃관련 삭제
rm -rf .git
# 깃 초기화
git init
git add .
git commit -m "first commit"
# main 브랜치로 이름 바꾸기 (master일 경우에)
git branch -M main
# remote 설정
git remote add origin [깃주소]
# main push
git push -u origin main

 

반응형

+ Recent posts