git branch is used to create branch
Git checkout = the act of switching between different versions of a target entity. The git checkout command operates upon three distinct entities: files, commits, and branches.
A
It is in the book:
git checkout [-b] (branchname or commit)
The -b argument is useful for combining the git branch command with the checkout function and saves a bit of typing by creating the branch and checking it out (switching to it) all at the same time.
A is correct:
The git checkout command accepts a -b argument that acts as a convenience method which will create the new branch and immediately switch to it.
https://www.atlassian.com/git/tutorials/using-branches/git-checkout
upvoted 2 times
...
This section is not available anymore. Please use the main Exam Page.200-901 Exam Questions
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Frap
7 months, 3 weeks agomacxsz
1 year, 5 months agodesignated
1 year, 9 months ago