An option to ignore submodules in stash push?
- Date: Tue, 6 Feb 2018 09:56:15 -0600
- From: Robert Dailey <rcdailey.lists@xxxxxxxxx>
- Subject: An option to ignore submodules in stash push?
I haven't seen such an option, but I think it would be nice to be able
to ignore submodules when creating a stash. When I stash changes in a
directory, almost always I intend to only stash real files, not
modified submodules. When I pop the stash later, it gets disrupted due
to submodule conflicts. To avoid getting the conflicts in the first
place, it would be nice to somehow specify:
$ git stash push --no-submodules -- MyDirectory/
Would this make sense?