Folder shows up empty after push it

Hi.

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

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

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

164 views 20 8
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