🗂️ Stash Management
-
Stash current changes with a message: Save your current changes and include a message for reference.
-
List all stashes: Display all saved stashes in your repository.
-
Apply the most recent stash: Restore the most recent stash without removing it.
-
Apply a specific stash: Restore a specific stash by its identifier.
-
Drop a specific stash: Remove a specific stash by its identifier.
-
Pop the most recent stash: Restore and immediately delete the most recent stash.
🔄 Rebase Workflow
-
Rebase current branch onto master: Replay commits from your branch onto the
master
branch. -
Interactive rebase for the last 5 commits: Modify commit history for the last 5 commits interactively.
-
Continue rebase after resolving conflicts: Proceed with the rebase after resolving merge conflicts.
-
Abort the rebase process: Cancel the rebase and return to the original state.
-
Skip the current commit during rebase: Bypass the conflicting commit and continue rebasing.
🍒 Cherry-Pick Commands
-
Apply a specific commit to the current branch: Bring a specific commit from another branch to the current branch.
-
Cherry-pick a range of commits: Apply multiple commits from a range to the current branch.
🔀 Merge Conflict Management
-
Abort a merge in progress: Cancel the current merge and revert to the pre-merge state.
-
Continue a merge after resolving conflicts: Resolve conflicts, add changes, and complete the merge.