git 정리(4)

catchv·2022년 8월 25일
0

git

목록 보기
3/3

1. branch 생성

$ git branch [branch name]

2. branch 확인

$ git log --oneline --decorate
git log --oneline --decorate --graph --all

3. branch 이동

$ git checkout [branch name]
$ git checkout -b [branch name] # branch 생성까지 함.

4. branch 삭제

$ git branch -d [branch name]

5. remote branch push

$ git push origin [branch name]

0개의 댓글