Skip to content

Add 'stash' command #7

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from
Draft

Add 'stash' command #7

wants to merge 5 commits into from

Conversation

404Wolf
Copy link
Collaborator

@404Wolf 404Wolf commented Mar 5, 2025

Add a stash command. Waiting on #4 to merge so that I can automatically check out the current version of the current branch (aka reset back to "clean" state) after you stash. Here's what it is so far...

recording_20250305_014013

@404Wolf 404Wolf changed the title Add stash command Add 'stash' command Mar 5, 2025
@maxmcd
Copy link
Member

maxmcd commented Mar 5, 2025

@404Wolf yeah, as we discussed I think this is taking us a little too far in the git direction for the moment. it would also be nice to avoid figuring out how to store various bits of state locally before the patterns are more established.

@404Wolf
Copy link
Collaborator Author

404Wolf commented Mar 5, 2025

@404Wolf yeah, as we discussed I think this is taking us a little too far in the git direction for the moment. it would also be nice to avoid figuring out how to store various bits of state locally before the patterns are more established.

Agreed. Since we're making our own CLI we can also establish our own workflows -- it would be nice if you have a dirty state to be able to push to a new branch and rollback to clean state with a single command. I'll think about this more

@maxmcd
Copy link
Member

maxmcd commented Mar 5, 2025

@404Wolf yeah "branch as storage" or branch as scratch state feel like nice patterns to feel out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants