Sub folders within Git repository is not known to Git -
i have created git repository locally , have created remote repository , made bare git --bare init , local working copy folder initialized git folder. ran git remote add origin /path/to/remote , able run git add . , commit changes.
when in local working folder , cd sub folder notice no longer have (master) @ end of prompt , when run git show-ref nothing returned. think when committed files somehow contents within sub folders not recognized? when run git add subfolder/ , run git status have nothing commit because no changes have been found recognized has been put git?
anyone have idea have missed?
git doesn't know folder unless exists minimum file within folder, because git work pointers files.
Comments
Post a Comment