git reset --hard
This is what you need most of the time when you want to undo: git reset --hard and then git push --force-with-lease
This is what you need most of the time when you want to undo: git reset --hard and then git push --force-with-lease
What to do if you want to ignore a specific directory and all it's content.
In this article we'll explore how to deploy on server (Linux VPS) with git and post-receive hook
Command line steps needed to push any existing project to git repository