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

This widget could not be displayed.

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

Workaround:

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

Hi

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

872 views 2 3
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