컴퓨터/HTML

git 사용법

풍경소리^^ 2019. 11. 5. 04:36

설치 파일

GitLens--Git supercharged

Git History

===========================

문장입력

소스제어

현재폴더click=====git init

변경 내용 스테이징=====git add

메시지 등록 ctrl+enter=====git commit

스테이징 영역의 변경사항을 레포지토리에 저장하는 행위

변경사항을 묶어주는 단위


ctrl+shift+p

git view history

커밋 정의내용추가-파일선택-compare against previous version


===========================

git bash

폴더이동-폴더에서 새로운 터미널 열기

git status

git add 파일이름

git commit -m "메시지 등록"

git status

git log

git push origin master

==============================

원격에서 수정된 상태에서

ctrl+shift+p

git: pull