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

This widget could not be displayed.

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.

This widget could not be displayed.
Timothy Chin Community Champion May 21, 2014

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

This widget could not be displayed.

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
Community showcase
Published Aug 21, 2018 in Bitbucket

Branch Management with Bitbucket

As a project manager, I have discovered that different developers want to bring their previous branching method with them when they join the team. Some developers are used to performing individual wo...

1,286 views 8 11
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