magit-file-{rename,remove,untrack} should support acting on multiple files at once

Created on 7 Jan 2017  路  5Comments  路  Source: magit/magit

feature request

All 5 comments

Do you picture a dired-like interface to mark and operate on files? Or maybe a dired integration of some kind? I sometimes use a workflow in dired with dired-mark-files-regexp or similar into dired-do-shell-command git rm.

I have done so for magit-file-remove and magit-file-untrack, but have also decided to not do it for magit-file-rename. The latter would be quite a bit more complex and can also be done using e.g. Dired and then staging the pairs of additions and removals.

Do you picture a dired-like interface to mark and operate on files?

No, this uses Magit's usual "select multiple things of the same type using the region" selection mechanism.

I'm sorry to jump in but where is magit-file-remove? I've searched in the git repo but none is found. The reason I'm looking for the function is to remove a file listed in the Untracked files (4) section of Magit buffer. Would that function does what I'm looking for?

There is a function named magit-file-delete. You can also press k on a file listed below "Untracked files" to "kill" it.

please reopen this feature request, it would be great.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

HaraldKi picture HaraldKi  路  4Comments

kpurdon picture kpurdon  路  4Comments

mmcclimon picture mmcclimon  路  4Comments

mmcnl picture mmcnl  路  3Comments

tarsius picture tarsius  路  5Comments