Git Submodule: Which commit (hash) do I need? -


when roll git working directory particular commit, submodule shows "modified." submodule checked in , has no modified files, it's @ different commit needs be. how can find out name/hash of correct commit?

if you're looking submodules rollback appropriate commits, try:

git submodule update --recursive

this update of submodules commit should sitting @ (referencing meta data parent repo has stored each commit commits submodules should at).


Comments

Popular posts from this blog

android - getbluetoothservice() called with no bluetoothmanagercallback -

sql - ASP.NET SqlDataSource, like on SelectCommand -

ios - Undefined symbols for architecture armv7: "_OBJC_CLASS_$_SSZipArchive" -