Search code examples
githubgit-push

pushing to master it locks one my folder on github


I have mother folder contain 3 different folders, I have pushed the parent folder to my github repository but on of three folders is locked,

I was following instruction on this website initialize a git repo, push to Github

folder called borroup is locked. here is an image to the github

enter image description here


Solution

  • If by "locked" you mean you cannot click on it and see its content, check if that same borroup folder has, locally on your machine (from where you pushed) a .git subfolder.

    That would make borroup a nested Git repo, which is referenced as a gitlink by the parent repo.