This may look like a noob question, but I could not find any solution for this. I have a qualifying project to be cloned from the original repository. I have removed the .git directory and placed the .gitignore file:
nbproject ._ *. ~ Lock * .buildpath .DS_Store .idea .project .settings composer.lock vendor / public / vendor / config / development.confiff.ppp config / autoload / local.phip config / autoload / *. Local / PDF! Public / Seller / Readme MD data / cache / *! Data / Cash / GTT
I then made "git init" in the root folder and my GIT repository was created. I made a "git add.gitignore" and made an initial commitment with it. I tried to create a "git add" But adding all my files to the staging area, I do not understand why the .puppet directory has been added to .gitignore and it is still added. I have given a shot for this solution which does not solve my problem
If the structure is :
yourrepo / .git / gitignore yourfiles
Then a git add.
.gitignore
.
If not, a git rm --cached - incorrect file will remove it from the index, and ignore it due to git status
.gitignore
.
No comments:
Post a Comment