Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Enabling git ignore files and folders globally at bitbucket project level

Edited

Hi,

  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

Hi! 

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

https://git-scm.com/docs/gitignore

 

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
TAGS
Community showcase
Published in Bitbucket

📣 Calling Bitbucket Data Center customers to participate in research

Hi everyone, Are you Bitbucket DC customer? If so, we'd love to talk to you! Our team wants to dive deep to understand your long-term plans regarding Bitbucket DC and Atlassian Cloud. Do you plan...

123 views 2 4
Read article

Community Events

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

Events near you