Which of the following statement would create branch named as ‘sanfoundry’?

Q & ACategory: Data ScienceWhich of the following statement would create branch named as ‘sanfoundry’?
Admin Staff asked 4 years ago

Which of the following statement would create branch named as ‘sanfoundry’?
a) git checkout -b sanfoundry
b) git checkout -c sanfoundry
c) git check -b sanfoundry
d) none of the mentioned

1 Answers
Admin Staff answered 4 years ago

a) git checkout -b sanfoundry