0 votes
in Git by
What is the command to reset your index as well as the working directory to the state of your last commit?

a)  git clean

b)  git reset

c)  git revert

d)  git checkout

1 Answer

0 votes
by
b)  git reset is the command to reset your index as well as the working directory to the state of your last commit

Related questions

0 votes
asked Jan 9, 2021 in Git by SakshiSharma
+1 vote
asked Oct 15, 2019 in Git by rajeshsharma
...