Home
Recent Q&A
Java
Cloud
JavaScript
Python
SQL
PHP
HTML
C++
Data Science
DBMS
Devops
Hadoop
Machine Learning
Azure
Blockchain
Devops
Ask a Question
What is the command to reset your index as well as the working directory to the state of your last commit?
Home
Git
What is the command to reset your index as well as the working directory to the state of your last...
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
...