1.

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 mentionedThe question was posed to me in exam.The query is from CLI and Git Workflow topic in chapter Data Science Basics and Data Scientist Toolbox of Data Science

Answer»

The correct answer is (a) GIT checkout -b sanfoundry

Easy EXPLANATION - A BRANCH in Git is simply a lightweight MOVABLE pointer to one of these COMMITS.



Discussion

No Comment Found

Related InterviewSolutions