On Sat, Sep 24, 2016 at 12:34 AM, Stefan Beller <sbeller@xxxxxxxxxx> wrote: > git -C path/to/sub --keep-prefix ls-files Note that the above can also be written like so (and works identically), due to the fact that -C can be given multiple times: git -C path -C to -C sub --keep-prefix ls-files nazri