.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

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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Brian Ganninger
Published Jan 23, 2018 in Sourcetree

Tip from the team: workflow and keyboard shortcuts

Supported Platforms macOS Sourcetree has a lot to offer and, like many developer tools, finding and using it all can be a challenge, especially for a new user. Everyone might not love ...

790 views 0 4
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