.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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published May 30, 2018 in Sourcetree

Tip from the team: configuring Git or Mercurial in Sourcetree

Supported Platforms macOS Windows To make using Sourcetree as simple yet powerful as possible we embed (bundle) dependencies such as Git, Git LFS, and Mercurial. We strive to keep these...

568 views 1 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