Bitbucket does not display changes in theme directory

I am using Sourcetree on OS X. I am working on a WordPress project. For some reason, the changes I make to the themes directory are not showing up as not installed files. If I add a test file to / wp-admin / or / wp-content /, it shows the test file as not installed. I cannot figure out why theme files are not being tracked.

I checked .gitignore and is empty.

Any help is appreciated. Thank!

-1


source to share


1 answer


Clarify the issue. If SourceTree does not recognize untracked files, follow these steps.

  • Double check that you are not specifying a directory / directory in .gitignore

  • Open the GIT console for this repository and run git status

    . This should show if any changes can be detected by GIT.
  • Go to the directory you are having problems in and see if you have files .gitignore

    or .git

    . If they exist, removing them should allow you to add those files to your repository.

Attention: Sometimes having a repo inside a repo by design (often called a sub-repo) and can lead to problems when deleting.



Edit:

I just reproduced this scenario with two repos and the original tree showed up to see the unsolicited files after deletion .git

. Could you open a terminal window to that themes directory and do ls -a

?

+1


source







All Articles