sublime_merge
sublime_merge copied to clipboard
Add ability to stage multiple files at once.
Other git gui I have used, offer the ability to shift+click or ctrl+click to highlight multiple files, and then stage them all at once.
In addition, batch selecting could be applied to different operation. I could select a batch of files and discard, etc.
Sublime Merge lacks this ability currently, and I think it is huge hindrance to usability.
Wouldn't that involve one more click than just clicking stage for each file?
No, think a normal file list in OS file explorer.
If I wanted to stage twenty contiguous files, the action would be as follows...
hold shift left click top file left click bottom file click stage
That is 4 actions, whereas in sublime that would be N actions, where N is the file count.
It would be the same amount of actions when ctrl adding files, then staging. But ctrl clicking still has benefit.
The most substantial benefit is that shift and ctrl clicking to add files to selection is an ubiquitous action in every file manager I have ever used (on Windows and Linux), so I feel like it is an expected feature, even outside the context of a file manager.
PS. Shift clicking because exponentially more powerful when you can parse the changed files list by regex. eg supply *.xml to show only xml files, then shift click to stage all of the xml files.
Thanks for adding addition context and ideas to your request!
I updated the title and initial post to reflect the fact that this feature is not specific to just staging. I had to do a bunch of discards today, and I had to open up GitExtensions to get it done.
I just had to stage some spine assets with thousands of sprites. My mouse broke. Had to drop down to command line just to stage files.
Here's an example of the problem I faced. I would be so easy to enable a multiple selection in the list. It's no-brainer in my opinion.
+1 for this. I just deleted a folder with quite a lot of files in it and had to go through and stage the deletion of each file individually. What could have been two clicks ended up being about 50.
I'd like to see multi-select of files with a context menu of open in sublime. My workflow involves a review repo (e.g. gitlab, gerrit) and some changes have been reviewed the files might need further changes. Instead of doing git show --name-only --pretty="" | xargs subl'
I'd like to be able to this in smerge.
+1 on this feature for me. The fact that I can only stage individual files or all files is a real annoyance to me when I frequently need to generate multiple commits containing groups of files all generated by a single build. Staging each file individually isn't workable for me. As things stand, I'm having to move back to GitHub Desktop to do this but it would be fantastic if I could finally do all my git work in a single tool!
+1 for me as well. This is honestly the only feature making me hesitate to jump into using this tool full time.
2 years have passed, and I still want this function so bad, is there any progress?
I'll add my +1 to this.
The app is really great but this missing feature really stops me to migrate from my current git client. We generate lots of files (& commit them on purpose), being unable to select them with "classic" expected native cmd+click / shift+click selection is disappointing.
Same. Hard to fully switch.. Would pay for a license if this was implemented <3
Hi all,
Thanks for sharing your feedback!
We've added multi-select to the files tab in Sublime Merge Build 2080 (development). This allows you to stage / unstage / discard multiple files at once.
Kind regards, - Dylan from Sublime HQ
Hi again,
This has now been added to Sublime Merge Build 2083 (stable).
Cheers, - Dylan from Sublime HQ