Posts

Showing posts with the label drop

Git Drop Commit Not Pushed

Image
Git Drop Commit Not Pushed . A shorter method is to run the command git revert 0a3d. Running the command will create a new commit that reverts the changes of the specific git commit. Resetting your Git Push to Deploy repository WP Engine® from wpengine.com It will only revert the specific commit, not the commits coming after it. The branch still refer to the old commit, while the new amended commit (referenced by head) is detached from any branch. If you want to delete the last five commits in your repository, replace n with your value.