git init : 폴더 처음 생성 후 git 초기화git status : 깃 상태 확인 commit 상태 확인touch xxxx : xxxx 이름가진 파일 생성git commit -m "commit comment" comment 작성됨\`git add . : (.)현
git branch branch_name > branch_name(bn) 생성git branch --all > git에 있는 모든 branch 출력 및 지금 branch 확인 가능git branch -D bn > (bn) 삭제git checkout commit_id >
git merge branch_1 > 현재 활성화된 branch와 branch_1 합침.git merge branch_1 -m "commit_message(cm)" > cm 기록되며 merge 됨
2가지 branch rebasebranch_experiment로 이동해 master를 base로 Rebase마지막으로 branch_master를 Fast-forward3가지 이상 branch rebasebranch_server의 C3이 중간에 공통으로 존재branch_
참고사이트https://www.youtube.com/watch?v=txFU6P0X0kYhttps://spangle-wedelia-2dc.notion.site/63c54d243a224ece895ba973a3a11f1c