Option to not checkout submodules when creating a branch

XMLWordPrintable

    • Type: Suggestion
    • Resolution: Unresolved
    • None
    • Component/s: None
    • None

      I have a submodule which I don't control and want to ignore. I can use git update-index --assume-unchanged on the submodule or edit the .gitmodules and add ignore=dirty and use --assume-unchanged on that to essentially keep this folder deleted. this works fine until I branch my code. When I do that sourcetree automatically does a full checkout recursive on this submodule so it pulls it down polluting my repo. Could we add a flag to not do this?

              Assignee:
              Unassigned
              Reporter:
              Chris Nojima
              Votes:
              3 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: