It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Added File not showing up when Commiting

Hi there! I'm having a weird issue when using Sourcetree on a project myself and a partner are working on. We are working on a gameproject, and have added an item called a Blueprint in Unreal Engine 4. If I add a blueprint, save and close the proejct, open sourcetree, stage all, commit, pull, and push, he can then pull and get the new Blueprint no problem. However, on his end, when he adds a new Blueprint and repeats these same steps, I get nothing of the new Blueprint on my end. He tried creating several test ones to see if it was just a weird glitch, but it continues to be a problem. We finally stopped at the staging part and inspected the files to be staged, and found that it is not found there. When I do it, I can find the file there. I thought maybe he somehow managed to create a gitignore that maybe was catching this somehow, but we checked and that is not the case. Any other ideas? I've used bitbucket and Sourcetree pretty extensively for work, but not much for game dev so I'm still learning some of the differences with it for something like this.

1 answer

The gitignore file is the likely cause. If you have a gitignore file in the repository (based on what you said, it doesn't sound like there is), check that the file extension is not listed.

If you don't have a gitignore file in the repository, there may still be a global ignore file that is causing the file to be ignored.

In SourceTree, go to Tools->Options->Git. At the top of that page is the path to the global ignore file. Clear the path so that a global ignore file is not specified, then click OK to save the options.

I don't use a global ignore file because it tends to lead to exactly these sort of problems.

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Posted Jan 17, 2019 in Sourcetree

[dev team] Sourcetree for Windows 2019 Preview - Dark Theme

Hi folks, While the full post is over on our blog I'd like to share the dark theme we've got planned for 2019 here directly as well to keep the discussion going.  The ...

1,557 views 13 14
Join discussion

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