Programming/Git

4. Git 버전 만들기

zero_two12 2020. 5. 4. 16:54

1) git config --global user.name 이름

git config --global user.email 이메일

해당 파일 이름과 이메일 입력된다.

 

2) git commit

commit시 오류 발생

git status

No commits yet 오류 발생

git commit -m "This is the first version of file"

git log

해당 파일 이름과 이메일 등록완료

 

2) first.txt 파일 수정된다면

git status : 변경사항을 여부 알 수 있음

git add 파일 

 

3) git commit후 2 추가입력

git log시 업데이트완료!