1

I have, for the last year, TouchJSON via a submodule. I no longer need to use the library and want to remove it but I am not sure if doing this: How do I remove a submodule? will remove even the 'history' of TouchJSON.

basically, if I delete the submodule and then need to roll back for some odd reason, will it remember which version of TouchJSON to check out?

Community
  • 1
  • 1
griotspeak
  • 13,022
  • 13
  • 43
  • 54

1 Answers1

0

It will remember it; if you do a diff between two commits in which the only change is a submodule being updated to a new revision, git will report the two commit hashes of that subproject

michel-slm
  • 9,438
  • 3
  • 32
  • 31