
$ cd .. (하위 디렉토리로 이동)
$ cd 이동할 하위 디렉토리 명
$ git config --global user.name "내이름"
$ git config --global user.email "내이메일"
$ git remote add origin github 저장소 주소
📌github 저장소 변경
$ git remote set-url origin 변경할 github 저장소 주소
📌remote 저장소 초기화
$ git init
$ git remote -v
$ git add .
$ git add 파일명
$ git commit -m "커밋메시지"
$ git push origin main
$ git pull origin main
$ git checkout -b "main"
$ git clone github 저장소 주소