Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Is there a way to have Sourcetree push a copy of my global gitignore with each project?

David Wheeler January 10, 2020

On our team there are a couple of us that use Sourcetree and with it a global gitignore. Unfortunately there are also some developers that use other git tools and don't have a global gitignore. I need for those of us using the global ignore method, rather than making one for every project, have a copy of our global sent up to GitLab on push from Sourcetree.

1 answer

0 votes
Cristiano Mariano
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 11, 2020

Hi @David Wheeler ! How are you doing?

We did not find an easy way to acomplish that.

What worked out for us was installing a server side App in our Bitbucket Server to block pushes with same extensions in files. Use used to use File Hooks Plugin and now we are moving to Control Freak for Bitbucket Server (https://marketplace.atlassian.com/apps/1217635/control-freak-for-bitbucket-server?hosting=server&tab=overview).

I suppose you could find something similar for GitLab.

Hope this helps!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events