Group Changes (name a series of commits and combines completed efforts) Flashcards
0
Q
$ git branch [branch-name]
A
Creates a new branch.
1
Q
$ git branch
A
Lists all local branches in the current repository.
2
Q
$ git checkout [branch-name]
A
Switches to the specified branch and updates the working directory.
3
Q
$ git merge [branch]
A
Combines the specified branch’s history into the current branch.
4
Q
$ git branch -d [branch-name]
A
Deletes the specified branch.