작업환경 : 윈도우 PC
1. Git 설치
설치 사이트에 접속하여 안내에 따라 설치
https://git-scm.com/book/en/v2/Getting-Started-Installing-Git
Git - Installing Git
This book was written using Git version 2. Since Git is quite excellent at preserving backwards compatibility, any recent version should work just fine. Though most of the commands we use should work even in ancient versions of Git, some of them might not
git-scm.com

2. 버전관리를 시작할 폴더 지정
1) 폴더 생성
2) Git Bash Here 선택

3. Git 명령어 사용
1) 이메일과 이름 등록
git config --global user.email "test@naver.com"
git config --global user.name "test
2) git init
- git 소프트웨어가 해당 폴더를 모니터링하기 시작함.

- .git 폴더가 생성됨 (git 파일이 저장되는 장소로 생각됨)

2) git add 파일명
3) git commit -m '메세지 내용 입력'
: 영구적으로 기록됨

'개발공부 > Git' 카테고리의 다른 글
[Git] 주요 명령어(2) git branch 생성, 변경, 병합 (0) | 2022.10.25 |
---|---|
[Git] 주요 명령어(1) git status, add, commit -m '내용', log (0) | 2022.10.24 |
[GIT] 관련 리눅스 명령어 모음(1) (0) | 2022.10.04 |
[GIT] 깃 배쉬(Git Bash) 폰트 사이즈 변경 방법 (0) | 2022.10.04 |
Git 공부 시작 (1) | 2022.09.26 |