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
4,296,925
Community Members
 
Community Events
165
Community Groups

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

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

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

Bug Fix: Sourcetree for Windows authentication error when updating to app password

Hello Sourcetree users!!! With the recent removal of Bitbucket Cloud account passwords for app passwords (please see our Bitbucket Cloud community post for details on why we made this change for se...

61,530 views 127 27
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