-
Notifications
You must be signed in to change notification settings - Fork 49
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
Add git stash command #142
Comments
Personally, whenever I use git stash, I want to stash every file that's changed. I.e. a shortcut for "stash everything" would be nice. |
I have the same request for commit. The real challenge is to find a mapping for that, even two mappings:
|
How about mimicking Vim's convention about doing things to a whole line, i.e. repeating the operation key (I'm thinking about 'dd' and 'cc' here).
|
I tend to avoid mapping overlap. If I set |
True. |
Current state of thought. Thanks to comment on:
In vimagit buffer, stage your files/hunks/lines/part of lines as before. Once all your stuff you want to stash is in Stage section, use new mapping
CS
to enter in mode Stash. It is like the Commit mode, a new section "Stash message" appears on top on vimagit buffer. Enter a stash message (if not, it is like agit stash
command without command, the message will be like WIP on branch..). RetypeCS
, your stage section is now stashed.The main corner case detected for now is to handle wisely untracked files.
The text was updated successfully, but these errors were encountered: