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

Grant Kemp November 9, 2013

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
Aseem Parikh
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 9, 2013

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.

Grant Kemp November 10, 2013

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
TAGS
AUG Leaders

Atlassian Community Events