Git keep calm and reset –hard

===================================================
$ git reset --hard A $ git reset --soft @{1} # (or ORIG_HEAD), which is D $ git commit
===================================================
$ git revert --no-commit D
$ git revert --no-commit C
$ git revert --no-commit B
$ git commit -m 'the commit message'

listado total de commit push enviados al respositorio git shortlog -s -n Various ways to remove local Git changes // deshacer mi ultimo push , en git git reset --hard HEAD~1 git checkout . git clean -f sudo add-apt-repository --remove ppa:nombre-ppa/ppa 
===================================================