I have a great experience working with a flat repository structure in magit. I find it more cumbersome to navigate in and out of directory structures when I want to some but not all of the files in a subdirectory.

  • mark the individual files from the subdirectory to be staged
  • stage the subdirectory, and then un-stage the files I don't want staged.

It seems like there should be a way to navigate into a subdirectory from within the magit status, and maybe other dired-like operations.

How can I navigate directory structure from within magit status buffer? I may also accept alternate but equally straightforward workflows to accomplish the same thing.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.