Branches and Tags Flashcards
1
Q
git branch -av
A
list all existing branches
2
Q
git checkout (co works)
A
switch HEAD branch
3
Q
git branch
A
Create a new branch based on your current HEAD
4
Q
git checkout –track
A
create a new tracking branch based on a remote branch
5
Q
git branch -d
A
delete a local branch
6
Q
git tag
A
Mark the current commit with a tag