Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 46 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,3 +115,49 @@ Then tag your bot from another account to see it respond. Replace the placeholde

## Current status
Start with Phases 1–4 today. If you hit a snag, share the exact output/error and we can debug together.

## Advanced Git Commands

Need to manage work-in-progress changes or selectively apply commits? Use the commands below.

### git stash

Temporarily save uncommitted work so you can switch branches safely.

```bash
# Save current changes with a message
git stash push -m "wip: listener tweaks"

# Re-apply the most recent stash

Copilot AI Feb 12, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The description for git stash pop is a bit misleading: pop applies the stash and drops it (unless it fails). Consider either changing the text to “Apply and drop the most recent stash” or using git stash apply if the intent is to re-apply while keeping the stash around.

Suggested change
# Re-apply the most recent stash
# Apply and drop the most recent stash

Copilot uses AI. Check for mistakes.
git stash pop
```

### git cherry-pick

Apply a specific commit from another branch onto your current branch.

```bash
# Cherry-pick a single commit by SHA
git cherry-pick a1b2c3d4
```

### git revert

Create a new commit that undoes a previous commit (safe for shared branches).

```bash
# Revert the most recent commit
git revert HEAD
```

### git reset

Move the branch pointer back to an earlier commit (use with care on shared branches).

```bash
# Keep changes staged but remove the last commit
git reset --soft HEAD~1

# Discard the last commit and working tree changes
git reset --hard HEAD~1
```