Git 셋팅하기

Joonlaxy·2023년 8월 29일
0

Windows 재설치하고 Git 셋팅하기

1) git bash에서 Email과 Username을 입력

git config --global user.email "abc@email.com"
git config --global user.name "MyUsername"

2) repository git clone하기 ※저장 경로 잘 정하고 clone하며 한 칸 띄고 마침표 주의

git clone https://github.com/username/myrepository.git .

3) commit하기

git add Readme.md
git commit -m "커밋 설명 추가"

4) push하기

git push origin master(or main)

profile
Come in here

0개의 댓글