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

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

Push EXE to bitbucket

Is there a restriction from uploading certain filetypes (exe in particular) into Bitbucket as part of the Git/Hg repository? I pushed a local Git repository that included some Windows utility executables that are required for my software to run, but I can't see them in Bitbucket, and when other devs cloned from Bitbucket, they didn't have the exe's either.

3 answers

1 accepted

3 votes
Answer accepted

Well, I just dug into my end of this again based on Tim's question. There was no error, but there was also no record of the exe files in my commit.

I tried a "Show All" or my SourceTree working copy, and they weren't listed there either.

More digging - SourceTree has a global git ignore list that includes files built by Visual Studio, including .exe. After removing that, I am able to push exe files to bitbucket, and they show up there.

So, solution: Check the SourceTree (or maybe git?) global ignore file!

Do you mind sharing the location of this ignore?

There is an edit button in the Git tab of the Options dialog (there is one in the Hg tab, too).

Like Sushmalekha Birur likes this

How to upload an *.exe file on repository? I have some exe files on my local computer. But it does not show up in my repository.

When I add an text file, it shows "Uncommited changes" to commit. But when I add exe files, it does not show " uncommitted changes".

Did you read the answer you commented on? Check the global .gitignore file to see if all .exe files are ignored. Instructions on finding that file are in the previous comment.

Nope. I had no idea there was a problem until another dev who pulled the repo asked how he was supposed to run the software.

Did the push fail? It should have if you don't see it in the remote repository.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bitbucket

New improvements to user management in Bitbucket Cloud 👥

Hey Community! We’re willing to wager that quite a few of you not only use Bitbucket, but administer it too. Our team is excited to share that we’ll be releasing improvements throughout this month of...

3,734 views 10 16
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