Notice
Recent Posts
Recent Comments
Link
«   2024/10   »
1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31
Tags
more
Archives
Today
Total
관리 메뉴

wintertreey 님의 블로그

VS Code에서 깃 연동하기 본문

Git & GitHub

VS Code에서 깃 연동하기

wintertreey 2024. 7. 31. 19:39

초반 세팅
 
# 2. 로컬 저장소 초기화
git init

# 3. 변경 사항 스테이징
git add .

# 4. 커밋 생성
git commit -m "Initial commit"

# 5. 원격 저장소 추가
git remote add origin https://github.com/username/repository.git

# 6. 브랜치 설정 (optional, 만약 main 브랜치를 기본 브랜치로 사용한다면)
git branch -M main

# 7. 변경 사항 푸시
git push -u origin main
 


추가 업로드시 
 
$ git add .
$ git commit -m "---"
$ git push origin main 
 


https://blog.naver.com/comma_dev/223530523026

[Git] VSCode에서 Git 연동하기

각각의 React 프로젝트 내에는 기본적으로 `.gitignore` 파일이 존재하므로 따로 생성하지 않아...

blog.naver.com