[Git] Repositories 만들기

#Git #Repositories #레파지토리
Dec 22, 2023
[Git] Repositories 만들기
 

1. 깃 허브 Repositories 클릭 → New 새로운 Repositories 생성

notion image
 

2. Repositories 이름 생성, 설정시 README 꼭 체크하기

notion image
설정시 README 꼭 체크하기
 

3. Repositories <>code copy

notion image

4. 터미널에서 확인

notion image
만들어 졌는지 원격지 연결해보기
 
notion image
연결 잘 되었음
git remote add origin (add꼭 붙이기)
 
notion image
왜 체인지 안되었니? → 너 git init 안했어!!!
 
notion image
commit 까지 하구
 
notion image
 
master 했더니 없다네….. ㅜ
main만 있고 master 없네 ..
 
notion image
강제 형상 맞춤 +master
💡
함부로 +마스터 남발 하면 깃 다 날라감 주의해서 쓰기!
 
notion image
이제 잘 만들어짐
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Share article

Coding_study