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 reset’?



What is the function of ‘git reset’?..

Answer / Tuba Shakeel

'git reset' allows you to undo changes in your working directory, staging area, or commit history. It can be used to move the pointer to a different commit, discard changes since that commit, or even remove commits from the repository (with `--hard` option).

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Git Interview Questions

What is the function of ‘git reset’?

1 Answers  


What is git bisect? How can you use it to determine the source of a (regression) bug?

1 Answers  


How do you configure a git repository to run code sanity checking tools right before making commits, and preventing them if the test fails?

1 Answers  


What is the difference between ‘git remote’ and ‘git clone’?

1 Answers  


Mention some of the best graphical GIT client for LINUX?

1 Answers  


In git how do you revert a commit that has already been pushed and made public?

1 Answers  


What does a commit object contain?

1 Answers  


Why GIT better than Subversion?

1 Answers  


What is the function of git clone?

1 Answers  


Name a few git commands and explain their usage.

1 Answers  


What is the function of ‘git stash apply’?

1 Answers  


What is another option for merging in git?

1 Answers  


Categories