Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Enabling git ignore files and folders globally at bitbucket project level



  We have 10 + bitbucket projects and each project has 50 + repositories. For my businiess use case, Maintaining .gitignore file at all locations is not secure and efficient way as i will  continuously have add-on's to .gitignore file and also there are chances that developers may remove .gitignore file or force commit files.  Would like to know steps to setup gitignore file to avoid files and folders at bitbucket project level.


Thank you!

1 answer

0 votes


you need to create a manually that file. (Because that file is just instruction of excludes for your repo)


Or write a script to expose that files

That is not an answer! 

Other systems provide better way of addressing this requirement: .gitignore API | GitLab

Is there something similar in Bitbucket datacenter?  

Suggest an answer

Log in or Sign up to answer

Atlassian Community Events