What is the function of ‘git checkout’ in git?
Answer / Anant Prasad Vema
'Git checkout' allows you to switch branches, move between different versions of a file (with -b for creating a new branch), or recover a previous commit (using the commit hash). It also creates or updates the working directory and staging area to match the state of the selected branch or commit.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is a repository and how will you create it?
Can you explain the gitflow workflow?
What is git bisect?
What is a ‘conflict’ in git?
What is git and why do we use it?
What is the difference between git and github?
What is another option for merging in git?
What is a distributed vcs?
Name some git commands and also explain their functions?
What is ‘bare repository’ in GIT?
What is ‘head’ in git?
Mention some of the best graphical GIT client for LINUX?