File tree Expand file tree Collapse file tree 2 files changed +26
-0
lines changed Expand file tree Collapse file tree 2 files changed +26
-0
lines changed Original file line number Diff line number Diff line change 1+ # Git
2+
3+ [ Git Reference] ( https://git-scm.com/docs )
4+
5+ ` git help ` , ` man git ` , ` git <command> --help ` 명령어를 통해 각 명령어의 사용법을 확인할 수 있다.
6+
7+ ## Git Command Workflow
8+
9+ ![ ] ( ./img/GitWorkflow.png )
10+
11+ ## Git Branch Model
12+ - [ {Git,Github,Gitlab} Flow 1] ( https://ujuc.github.io/2015/12/16/git-flow-github-flow-gitlab-flow/ )
13+ - [ {Git,Github,Gitlab} Flow 2] ( https://wiki.yowu.dev/ko/dev/Git/about-git-github-gitlab-flow )
14+ - [ Trunk Based Development] ( https://trunkbaseddevelopment.com )
15+ - [ Trunk Based Development 기술 블로그] ( https://tech.mfort.co.kr/blog/2022-08-05-trunk-based-development/ )
16+
17+ ## Git Command
18+
19+ ### restore
20+ - ` git restore <modified file> ` : 파일을 수정하기 전 상태로 되돌린다.
21+ - ` git restore --staged <file> ` : 스테이징된 파일을 언스테이징한다.
22+ - ` git restore --source=<hash> <file> ` : 특정 커밋의 파일을 수정하기 전 상태로 되돌린다.
23+
24+ ### fetch
25+ - ` git fetch ` : 원격 저장소의 변경사항을 로컬 저장소로 가져온다.
26+
127# Github
228
329## Github Pages
You can’t perform that action at this time.
0 commit comments