2. Branching

6 cards

Review this deck
All cards in this deck

`git branch`

list local branches

`git switch -c <branch>`

create and switch to a new branch

`git switch <branch>`

switch to an existing branch

`git merge <branch>`

merge a branch into the current branch

`git rebase <branch>`

move the current commits on top of the branch

`git branch -d <branch>`

delete a branch (already merged)

2. Branching – Flashcards – Git | Học Dev