SIr, can we able to revert it to a specific commit we want using revert command? In our case, we are just reverting the most recent commit that we made.
Man, you can push the removal of a commit using -force. That local vs remote idea is just wrong. You want git revert because you want to keep track of the reverted changes. Not pushing resets is just a best practice, it’s not impossible.
Crystal clear explanation
Hello Sir, the best explanation I have seen so far about git revert and git reset. Thanks and keep up the good work 👍
Glad it helped
🌟 Welcome to Java Home Cloud 🌟
Register for Online Training 👉 bit.ly/3vuBQqb
🌐Website 👉javahome.in
Best explanation
Keep watching
Perfect. Thanks
Your welcome
You can use git reset and do a force push.
Nice tutorial
Thank you! Cheers!
brilliant. thank you
SIr, can we able to revert it to a specific commit we want using revert command?
In our case, we are just reverting the most recent commit that we made.
try git revert command to revert any arbitrary commit
git revert
Man, you can push the removal of a commit using -force. That local vs remote idea is just wrong. You want git revert because you want to keep track of the reverted changes. Not pushing resets is just a best practice, it’s not impossible.
Thats on op video
There is no git rest command, plz correct it
Its there Dhiraj,
git-scm.com/docs/git-reset
Yes @Dhiraj you are correct there is no 'rest' command, 'reset' command is there