Skip to content

Webinformat

  • Home
  • jQuery
  • Linux
  • WordPress

Category Archives: Git

Git delete last commit

If you have not pushed a commit use the following command to delete last commit. Git delete last commit git reset –soft HEAD~1

Posted byCiprianJanuary 7, 2014January 7, 2014Posted inGitTags: delete, Git, git commit, Version ControlLeave a comment on Git delete last commit

Recent Posts

  • How to save a Facebook video
  • How to enable nginx stub status
  • Could not open archive dir for / Could not open archive mbox dir
  • cPanel/WHM The system cannot determine the base domain
  • Hot link protection
Webinformat, Proudly powered by WordPress.