git status # 현재 branch file status 확인
git lg # git line graph 확인
git log # 현재 branch의 commit log 확인 -> escape는 :wq
git diff # working directory와 staging area의 file diff 확인
git diff head # 최신 commit과 working directory의 file diff 확인
To make main branch look clean, use rebase in case of small group
1
2
git rebase master
git rebase --continue #after resolving conflict
in large group
use pull request - merge strategy.
developer just create new branch to add feature.
maintainer or director review the branch when merge with pull request