Linus Torvalds
git config --global user.email "<email>"
git config --global user.name "<name>"
git config --global --list
git config --global --editgit init [<directory>]
# or
git clone <repository> [<directory>]
git status> '의미' 있는 변화
git add
git commit
> '작업'의 분기점
> 나뉘어진 분기의 '통합'
> 커맨드 중 20%가 사용량의 80%를 차지한다.
저장소
Local
Repository
Remote
Repository
commit
push
pull
sync
중앙집중식(Centralized) VCS
repo
분산(Distributed) VCS
repo
repo
repo
repo
remote
local
ls -al .git
echo "Hello, World!" | git hash-object -w --stdin
git cat-file -t <object>
git cat-file -p <object>git log
git rev-list --parents -n 1 <commit>
--
git ls-tree HEADCentralized
Forking
Centralized
repo
repo
repo
repo
Forking
repo
repo
repo
repo
repo
repo
repo
upstream
local
origin
clone
stash
commit
tag
checkout
init
show
add
diff
branch
config
status
log
restore
submodule
switch
archive
merge
reflog
rm
pull
gc
clean
rebase
remote
mv
reset
cherry-pick
revert
push
fetch
개인 저장소
로컬 저장소
clone
fork
Remote
Local
그룹 저장소
upstream
origin
개인 저장소
로컬 저장소
clone
fork
Remote
Local
그룹 저장소
upstream
origin
commit
push
PR
fork
PR
pull