HomeUsesLinksSnippetsProjectsContact me
InstagramTikTokYouTubeTwitterTwitchGitHubLinkedIn
HomeUsesLinksSnippetsProjectsContact me
14 January 2017

GIT undo last commit

How to undo last commit in GIT?

git commit ...
git reset --soft 'HEAD^'
edit
git add ....
git commit -c ORIG_HEAD

VanillaJS Simple Countdownvim replace ^M

Pages

  • Home
  • Uses
  • Links
  • Snippets
  • Projects
  • Contact me

More

  • PHP Serialize Online
  • PHP Unserialize Online
  • PHP Playground Online
  • WP Admin Online
  • Dedicated WordPress maintenance plans
  • IP Address Check
  • Sitemap to llms.txt
  • By Human Not AI Badges

Created with ☕ by Michal Slepko and Rootscope