I have two folders—A and B—in my file directory that link up to the same Git repository.
I created a file in folder A called index.html
. I then create a different file also called index.html
in folder B. I then add index.html
in folder B, commit, and push B's contents.
When I pull from folder A, Git claims that my files are "Already up-to-date." However both folders clearly have different index.html
files. What is going on?
git rm index.html
in A?git add
andgit commit
it, or just put it in the folder? Git doesn't care what's in the folder, only what it's been told to care about.