.json files not listed as untracked in SourceTree when the file is created

I am using GRUNT to build my development version and it creates a file called manifest.json. When I go to commit my development changes to my master branch and then finally deploy from my GIT account on BeanStalk that file never comes up initially as untracked so I can't even add it. Any thoughts or help on why this is happening. I even changed it to .php and it came up as untracked. I then changed it back and its nowhere to be found. I looked for a setting that would allow me to track this kind of file and also I don't have a gitignore on that file or any other as far as I know unless GRUNT automatically ignores it for me but it is required in my production site.

1 answer

1 accepted

1 vote
Accepted answer

Check your .gitignore file.

Just found it. It was in the gitignore file. GRUNT added it automatically. Sorry to wase your time.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Oct 23, 2018 in Sourcetree

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

848 views 3 2
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you