I have learned when create a branch, Git will create a pointer point to a commit ID.
I create "test" branch based on "master" branch
C1 <- C2 <- C3 <- master
After some commit ID:
C1 <- C2 <- C3 <- C6 <- master
`<- C4 <- C5 <- test
And now, i want to delete "test" branch using command below:
$ git branch -d test
Git will delete only current commit ID "C5" or delete both "C4" and "C5".
I really don't know how to git delete "test" branch?
Please explain for me.
Thank so much!