Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

best practice with xlsx files: Git doesn't seem to remember it's tracked when switching branches

Though I have, for instance, png-files tracked in my repo without issue, I recently started committing xlsx-files.  Each is a template that I programmatically update with data, etc., based on DB-queries, and then either programmatically attach to emails or make available for download.  Anyway, though I have ".xlsx binary" in .gitattributes, and though I've committed and pushed xlsx-files to my repo successfully, when I switch back to the branch to which such files are committed, Git complains about such files being in the way.  If I move them out of the way, the switch succeeds, bringing the latest version of such files into my working-copy.  I diff'd them and saw them determined to be "identical".

I read something (I think, on stackoverflow) about a possible case-sensitivity problem with this, but that doesn't seem to be the problem in this case.

Is there some particular config-setting (or anything else) required to cause Git to consistently recognize tracked unmodified xlsx-files, so I don't have to keep moving them out of the way?

0 answers

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in DevOps

Step up your DevOps game webinar Q&A series - Questions answered!

  On October 21st, 2020 we hosted a webinar titled,   Step Up You DevOps Game with 4 Key Integrations for Jira and Bitbucket. We had a great showing and high engagement, but that meant th...

117 views 0 1
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you