작업환경 : 윈도우 PC
1. Git 설치
설치 사이트에 접속하여 안내에 따라 설치
https://git-scm.com/book/en/v2/Getting-Started-Installing-Git
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] 주요 명령어(2) git branch 생성, 변경, 병합 (0) | 2022.10.25 |
---|---|
[Git] 주요 명령어(1) git status, add, commit -m '내용', log (0) | 2022.10.24 |
HTML이란? (0) | 2022.10.21 |
공부일지 | #2. 개발공부 방향 정리 (0) | 2022.10.21 |
일처리가 빠른 사람들의 시간 관리 비밀 | 일의 목표를 주체적으로 바꿔라 (1) | 2022.10.18 |