Languages
[Edit]
EN

git revert last commit

7 points
Created by:
Dragontry
431

Quick solution:

git reset --soft HEAD~1

Very often after rever of last commit we need to push branch with force to override remote changes. To do that we use below command:

git push force

 

Git

Native Advertising
🚀
Get your tech brand or product in front of software developers.
For more information Contact us
Dirask - we help you to
solve coding problems.
Ask question.

❤️💻 🙂

Join