728x90
GitHub에서 새로운 레포지토리 생성
Git 저장소 초기화:
git init
GitHub 원격 저장소 연결
git remote add origin https://github.com/사용자명/my-first-repo.git
확인
git remote -v
모든파일 git커밋
git add .
커밋메시지 작성
git commit -m "Initial commit"
코드 푸시
브런치이동
git branch -M main
코드올리기
git push -u origin main
변경 사항 커밋 후 푸시
git add .
git commit -m "Update index.js"
git push origin main
'TIP' 카테고리의 다른 글
연결된 포트 끊기 (0) | 2025.03.10 |
---|---|
깃헙 기본 브릿지 바꾸기 (0) | 2025.02.12 |
대용량 트레픽 처리 - 로드 밸런싱 개념 정리 (0) | 2025.02.05 |
mysql 비번 바꾸기(cmd창) (0) | 2025.01.23 |
로케일 코드 (Locale code) - 특정 언어 및 지역을 나타내는 표준 (0) | 2025.01.11 |