git submodule tricks

Submitted by Fekete Zoltán on
$ git submodule status # get information

$ git ls-tree HEAD # which commit is bound to the current branch

$ git submodule update [--init] [--recursive] # align branch with submodules

 

Tags