Push EXE to bitbucket

Seth
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.
May 20, 2014

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
Seth
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.
May 21, 2014

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
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.
May 22, 2014

Do you mind sharing the location of this ignore?

Seth
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.
May 22, 2014

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
GAURAV SRIVASTAVA
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 12, 2014

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

Seth
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.
August 12, 2014

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.

Sushmalekha Birur
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 21, 2020

Worked for me!

0 votes
Seth
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.
May 21, 2014

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.

0 votes
Timothy
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.
May 21, 2014

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

Atlassian Community Events