[git] vm에서 기여

이장훈·2021년 9월 25일
0

git

목록 보기
1/2

git config

git에서 사용하는 config 설정이다.
덮어쓰기 방식으로 user.name을 등록할 때마다 변경된다.

git config --list로 현재 등록된 정보를 알 수 있다.

git config --global user.name "YOUR NAME"
git config --global user.email "YOUR EMAIL"  #Github에서 사용하는 email.
git config --list

git remote

git remote -v
git remote set-url origin https://github.com 내가 쓸 url 저장소 이름
git remote add upstream https://github.com origin저장소
git remote -v

git log

git에서 commit한 이력을 볼 수 있다.

git branch

git branch를 통해서 현재 branch 정보를 확인할 수 있다.

git status

git diff

git status보다 조금 더 세밀하게 어떤 부분이 변경되었는지 보여준다.

  • src : source다
profile
개발자가 꿈입니다.

0개의 댓글