handy_git_commands

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
handy_git_commands [2026/11/19 20:30] – mguptonhandy_git_commands [2026/11/19 20:38] (current) – [Collapse Commits Into One] mgupton
Line 3: Line 3:
 Collapse last //N// commits into one. Collapse last //N// commits into one.
 <code bash> <code bash>
-git reset --soft HEAD~<n> && git add . & git commit -m <commit msg>+git reset --soft HEAD~<n> && git add . && git commit -m <commit msg>
 </code> </code>
  
  • handy_git_commands.txt
  • Last modified: 2026/11/19 20:38
  • by mgupton