add2 [Git] 내 코드 파일 배포 A to Z 1. repository 생성 2.Setting > Developer settings > Personal access tokens > Tokens (classic) > Generate new token repo 관련 접근 허용하고,, 3. 해당 폴더로 가서 git init- .git 디렉토리가 생성- 여기에 저장소의 모든 버전 관리 정보가 저장됩git remote add origin https://[token]@github.com/USERNAME/REPOSITORY.git 확인git remote -v # origin https://github.com/USERNAME/REPOSITORY.git (fetch)# origin https://github.com/USERNAME/REPOSITORY... 2024. 12. 8. [Git] github 최근 커밋 수정사항 반영: git commit --amend 1. git add ./ 2. git commit --amend 3. ":wq" 명령어(저장 후 나감)로 나가기 4. git push origin main --force 2024. 11. 26. 이전 1 다음