1️⃣ GitHub에서 새 레포지토리 생성
- GitHub 접속 → New Repository 클릭
2️⃣ Git 초기화 및 프로젝트 업로드 (로컬에서)
- 로컬프로젝트에서 git 초기화 (init)
git init
- 프로젝트 루트에 .gitignore 설정
- GitHub 원격 저장소 연결 (remote add)
git remote add origin https://github.com/사용자이름/my-expo-app.git
- 변경사항 커밋 (add,commit)
git add . git commit -m "Initial commit"
- GitHub 레포지토리에 업로드 (Push)
git push -u origin master
댓글