Login
Remember
Register
Ask a Question
What is the command to reset your index as well as the working directory to the state of your last commit?
0
votes
asked
Feb 13, 2022
in
Git
by
rajeshsharma
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
git-state
git-commit
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Feb 13, 2022
by
rajeshsharma
b) git reset is the command to reset your index as well as the working directory to the state of your last commit
...