Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What is the function of ‘git checkout’ in git?



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

Post New Answer

More Git Interview Questions

What is a repository and how will you create it?

1 Answers  


Can you explain the gitflow workflow?

1 Answers  


What is git bisect?

1 Answers  


What is a ‘conflict’ in git?

1 Answers  


What is git and why do we use it?

1 Answers  


What is the difference between git and github?

1 Answers  


What is another option for merging in git?

1 Answers  


What is a distributed vcs?

1 Answers  


Name some git commands and also explain their functions?

1 Answers  


What is ‘bare repository’ in GIT?

1 Answers  


What is ‘head’ in git?

1 Answers  


Mention some of the best graphical GIT client for LINUX?

1 Answers  


Categories