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

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!

Timothy Chin Community Champion May 22, 2014

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

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.

0 vote
Timothy Chin Community Champion May 21, 2014

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

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.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jun 12, 2018 in Bitbucket

Do you use any Atlassian products for your personal projects?

After spinning my wheels trying to get organized enough to write a book for National Novel Writing Month (NaNoWriMo) I took my affinity for Atlassian products from my work life and decided to tr...

22,970 views 26 12
Join discussion

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