Github: stash

Created on 23 Feb 2017  Â·  11Comments  Â·  Source: atom/github

Create, list, and apply stashes from some kind of panel.

Most helpful comment

Here an early mockup:

Collapsed | Expanded
--- | ---
screen shot 2017-05-19 at 11 13 44 pm | screen shot 2017-05-19 at 11 13 21 pm

It's part of the staging area that can be expanded/collapsed. But now that we have two lists, it might get crowded on smaller screens.

All 11 comments

Any thoughts on how this would fit into the UI?

The UI/UX has already been invented several times by several such applications. Just take SourceTree (or any other app that has this feature) and take a look at it.

Here an early mockup:

Collapsed | Expanded
--- | ---
screen shot 2017-05-19 at 11 13 44 pm | screen shot 2017-05-19 at 11 13 21 pm

It's part of the staging area that can be expanded/collapsed. But now that we have two lists, it might get crowded on smaller screens.

@simurai the expanding list idea is slick however I agree it could get crowded as a concept if other features are implemented such as history, branches, remotes and tags. I also feel like it would be beneficial to see the changes associated with a particular stash in a similar way to how we can view unstaged changes.

Do you guys intend to eventually support features like history, tags, branches etc. in Github for Atom or is the idea to keep it lightweight pushing those responsibilities out to other plugins?

@cbovis I also feel like it would be beneficial to see the changes associated with a particular stash in a similar way to how we can view unstaged changes.

You mean to show a diff in a new pane. Kinda like a preview before you actually apply the stash? Yeah, that could be handy. The diff would probably be against your current code and not how it was when you stashes something.

The ✅ in front of a stash means that it would apply cleanly without conflicts. So you can easily see which stashes are kinda out of date. Not sure if that's possible without taxing performance too much.

@simurai yep thats what I mean, in the same way that you can click a file in your stage/unstaged files list to diff it against your current workspace. Seeing how the stash compares to your current workspace would make sense since that's where you would apply the stash.

Any thoughts here? It would be really helpful stash support in Atom, and I can't find packages to do it.

This feature really require. Every time I need to open a terminal and do stash.

@ankurloriya I'd recommend using git-plus package for stashing until this is implemented.

https://atom.io/packages/git-plus

Maybe an early version could implement all those nice features in the command palette until we figure a way to have a nice GUI working for stash ?
Git plus does the job but I would love for this package to provide everything related to git

Any news about that? It would be awesome for my workflow..

Was this page helpful?
0 / 5 - 0 ratings