lunes, mayo 27, 2013

Git Administration, delete the last commit

git reset HEAD^ --hard

after running this command in your local repo, do a

git push

this allows to restore the repo when someone for example erased all files in error.

No hay comentarios.: