$ git config --global user.name "당신의유저네임"
$ git config --global user.email "당신의메일주소"
$ git config --global core.editor "vim"
$ git config --global core.pager "cat"
$ mkdir first-git-repo
$ cd first-git-repo
feat:, docs:, test:, refactor: 정도의 말머리만 잘 붙여도 깔끔한 관리가 가능합니다.
commit message의 제목은 구(두개 이상의 단어가 모인 하나의 품사)의 형태를 띄게 합니다.
commit message는 제목과 내용이 존재합니다.
git switch ...
git branch ...
git branch -D ...
git mv hello.py helloworld.py
$ git restore ...
$ git reset HEAD helloworld.py
restore : 내용수정 전으로 취소하는거
reset : add 만 취소하는거
git commit --amend
git revert --no-commit HEAD~3.. add
touch 파일명.확장명 파일생성
touch server.py && touch server.java
mv index.html src 파일이동
mv ../server.js ./
cp hello.md src 복사
cp hello.md ./hello-copy.md 현재폴더에 사본 만들기
rm -r src 디렉토리 삭제
rm -rf src
mv hello.md bye.md 파일명 변경
금일 실습내용 방법
팀장역할
팀원역할