let's assume we've the following working copy structure:
.
├── adm
└── etc
with
$ git remote -v
origin git@github.com:xxx/my.git (fetch)
origin git@github.com:xxx/my.git (push)
Now, let's assume we've added a sub-project via git subtree
:
git remote add extlip git@github.com:yyy/ExtLib.git
git subtree add -P tech -m "added extlib as a sub-project" extlib/master
Such that
.
├── adm
├── etc
└── tech
with
$ git remote -v
origin git@github.com:xxx/my.git (fetch)
origin git@github.com:xxx/my.git (push)
extlip git@github.com:yyy/ExtLib.git (fetch)
extlip git@github.com:yyy/ExtLib.git (push)
Now assume you aren't working on this project for a while, how do you identify the root of the sub-project? Say, how do you identify the location where you "subtree-ed" and which one is the correct remote? Or, how do you identify that you "subtree-ed" at all?