Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 922
git submodule
KindDragon edited this page Mar 14, 2013
·
2 revisions
$ git submodule status <local path>
using(varrepo=newRepository("path/to/your/repo")){varsubmodule=repo.Submodules["submodule"];Console.WriteLine(submodule.HeadCommitId.Sha);}$ git submodule status --cached <local path>
using(varrepo=newRepository("path/to/your/repo")){varsubmodule=repo.Submodules["submodule"];Console.WriteLine(submodule.IndexCommitId.Sha);}