Languages
[Edit]
EN

git revert last commit

7 points
Created by:
Marcin
18550

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