An option flashed by me that I didn't uncheck, and now my repositories are created with a default .gitignore that prevents normal operation. I can't check in a new repo because the "histories are unrelated".
How do I shut off that "feature" of generating the default .gitignore (which doesn't have anything in it that I need).
How can I get passed this problem checking in my source?
And not so important, but .. why doesn't search turn up anything about it?
Found how to delete a file, but had to delete the repo, then recreate it choosing not to include a .gitignore -- which should not be "recommended" as it is particular to the project -- and got things working.
A default .gitignore is not helpful, in my view. It instantly puts your repo you're trying to set up at odds with the bitbucket. Even if the contents of .gitignore were exactly what you needed, you are instantly out of sync with the bitbucket version of the repo from what you have locally.
Just don't see how that helps. How do you actually take advantage of it?
Steps to dealing with this incredibly intrusive addition without deleting the repo...
1) Manually delete it from the BB repo page (go to the file page, three dots, 'Delete') and commit
2) From your local terminal, git pull origin master --allow-unrelated-histories
3) Push as normal, git push -u origin master
Hi everyone, We are looking to learn more about development teams’ workflows and pain points, especially around DevOps, integrations, administration, scale, security, and the related challeng...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events