Sourcetree since update is now ignoring my AndroidManifest.xml file but not other xml files

When I tried creating a new project on android in sourcetree, the project was created, but it doesn't seem to track my androidmanifest.xml file int the root of my project.

1. If I rename it to txt, then it works

I have tried installing latest version of git. but not luck ..

Any ideas?

1 answer

1 accepted

0 votes
Answer accepted

Is there a line in .gitignore that matches AndroidManifest.xml? You might need to check your global .gitignore file as well (~/.gitignore_global)

[edit] Scratch that, I just tried reproducing this locally and am having the same issue. 'git status' shows the file as modified but Sourcetree does not. This might be a bug...


If you delete the repo from sourcetree (bookmarks only) and re-import, it picks up the file again.


I tried deleting it and reimportnig it and it did't work.

But found the file in the global git ignore. I had to edit it using terminal command line. and it worked.

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...

1,214 views 4 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