Dev Portal Notes Logo
FrontendBackendLinuxHow ToCheatsheets

How To

Step-by-step tutorials and guides for solving common development tasks, from quick fixes to complete workflows.

Git and Version Control

How to Fix a Git Commit to Wrong Branch: A Step-by-Step Guide
March 6, 2026•git

How to Fix a Git Commit to Wrong Branch: A Step-by-Step Guide

Accidentally made a git commit to wrong branch? Learn how to move commits to a feature branch and clean up master using git cherry-pick and reset.

Guides

  • Frontend
  • Backend
  • Linux
  • How To
  • Cheatsheets
  • Misc

© 2026 Dev Portal Notes

About UsPrivacy PolicyTerms of ServiceDisclaimerCookie PolicyContact