develog

[git] switch 본문

Dev/git

[git] switch

냐옴 2022. 4. 3. 23:05

 

## 브랜치 생성
~ (master)$ git switch -c feature/01
Switched to a new branch 'feature/01'
~ (feature/01)$ 

## 브랜치로 전환
~ (feature/01)$ git switch master
M	README.md
Switched to branch 'master'

## 브랜치 삭제
~ (master)$ git branch -d feature/01
Deleted branch feature/01 (was 56d37b2).

'Dev > git' 카테고리의 다른 글

[git] clone vs fork  (0) 2022.04.03
[git] reset  (0) 2022.04.03
[git] revert  (0) 2022.04.03
[git] checkout commit  (0) 2022.04.01
[git] master >R>  (0) 2022.03.31
Comments