1 Answer

0 votes
by

git reset --hard f414f31

git reset --soft HEAD@{1}

git commit -m "Reverting to the state of the project at f414f31"

Related questions

0 votes
    What does the command git reset –hard HEAD ~3 do? A. Merges the last 3 commits to the master B. Discards ... nothing D. Resets the head to 3 commits before the current commit...
asked Dec 23, 2022 in Technology by JackTerrance
0 votes
    What is ‘git reset’ is used for? What is the default mode of this command?...
asked Nov 4, 2020 in Technology by JackTerrance
0 votes
    What does the command Git reset –- soft HEAD^ perform? A. Moves commit to one after current head B. Moves commit ... . Moves commit to the first head D. None of the options...
asked Dec 21, 2022 in Education by JackTerrance
0 votes
    I have made some changes to a file that has been committed a few times as part of a group of files, but ... former state in the past Select the correct answer from above options...
asked Jan 31, 2022 in Education by JackTerrance
0 votes
    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...
asked Dec 21, 2022 in Technology by JackTerrance
0 votes
    How can a job configuration be reset to an earlier version/state?...
asked Sep 14, 2021 in Technology by JackTerrance
0 votes
    How can a job configuration be reset to an earlier version/state?...
asked Jul 17, 2021 in Technology by JackTerrance
0 votes
    How to Reset local repository branch to be just like remote repository HEAD?...
asked Jan 7, 2021 in Technology by JackTerrance
0 votes
    How can we reset or revert a file to a specific revision?...
asked Jan 7, 2021 in Technology by JackTerrance
0 votes
    How to reset Splunk Admin password?...
asked Oct 31, 2020 in Technology by JackTerrance
0 votes
    I have two buttons in MainActivity, the first one opens a custom DialogFragment with some spinners and in ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked May 11, 2022 in Education by JackTerrance
0 votes
    I'm using JEE and I created EJB-Singleton. It has as a field LRUMap, which represents cache to ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked May 7, 2022 in Education by JackTerrance
0 votes
    I'm using const embed = new Discord.RichEmbed(); for my embeds. How do I reset the Embed values? ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Apr 29, 2022 in Education by JackTerrance
0 votes
    In my password reset function the user can put in whatever he/she wants. It does not even needs ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Apr 17, 2022 in Education by JackTerrance
0 votes
    I'm making a drag and drop game for my A level computing coursework. My drag and drop works fine, but I have 6 ... >= 190 && theButton.Location.X = 42 && theButton.Location.Y...
asked Apr 9, 2022 in Education by JackTerrance
...