Document advanced Git workflows with practical examples - #8
Closed
groupthinking with Copilot wants to merge 3 commits into
Closed
Document advanced Git workflows with practical examples#8groupthinking with Copilot wants to merge 3 commits into
groupthinking with Copilot wants to merge 3 commits into
Conversation
Co-authored-by: groupthinking <154503486+groupthinking@users.noreply.github.com>
Co-authored-by: groupthinking <154503486+groupthinking@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Explain usage of advanced Git commands with examples
Document advanced Git workflows with practical examples
Jan 28, 2026
groupthinking
approved these changes
Feb 6, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
Adds an “Advanced Git Commands” section to the README to help contributors safely use common advanced Git workflows in this repo’s day-to-day development.
Changes:
- Documented
git stashfor managing WIP changes. - Added examples for selectively applying/undoing commits via
git cherry-pickandgit revert. - Documented history manipulation options via
git resetwith--softand--hardexamples.
| # Save current changes with a message | ||
| git stash push -m "wip: listener tweaks" | ||
|
|
||
| # Re-apply the most recent stash |
There was a problem hiding this comment.
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 |
Owner
|
Closing stale PR — not relevant to production repo |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds concise documentation for advanced Git commands with examples to help users apply
git stash,git cherry-pick,git revert, andgit resetcorrectly.Example snippet:
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.