Folder shows up empty after push it


I had a repository called "Python". It contained some folders and files. Then I created a new repository with a different name. This new repository included the same "Python" folder, which I just refered. The new repository contained other folders as well.

I commited and pushed the content of the new repository. All the folders were successfully pushed but the "Python" folder. I tried to commit and push two copies of that folder, named "Py" and "Python27" but the problem still appears. When I clone the repository from a second computer, those "Python", "Py" and "Python27" folders are empty. Besides, browsing the Bitbucket web, in the "source" tab, it shows those folders like this:

I think the problem could be related to the fact that the "Python" folder has been a repository itself before. I'm not sure.
How can I fix this?
Thank you!

1 answer

1 accepted

This widget could not be displayed.

Check if the Python folder contains a .git folder and if yes - remove it and try to commit again

It worked, thank you!

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,199 views 8 10
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