Answers for "reset a branch to a particular commit"

1

git can we reset a new branch to a specific commit

git reset --hard cedc856
git push --force origin master
Posted by: Guest on December-11-2021
4

how to reset git branch to a certain commit.

git revert --no-commit 0766c053..HEAD
git commit
Posted by: Guest on April-18-2020

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language