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

Anyway to configure http.cookiefile in SourceTree?

We have presented our on premise Gitlab instance through Azure AD Proxy. It requires the client to reuse the cookie generated by the Azure Proxy authentication, which can be configured with the git configurable http.cookiefile.

This works fine with the git command line client, but I cannot make it work with SourceTree. Anyone know how to add configurable typically found in .gitconfig  to SourceTree?


1 answer

1 accepted

Thanks for the info.

Your second link partially fixes my issue. I did not thought about simply adding this setting in the repo's git config. This fixes it for already cloned repo.

The last issue I have is there is no global setting available, meaning for new repos, users would have to initiate a VPN connection or do it via the command line. Which is fine.

Thank you very much.

I am not a specialist in SourceTree but that second link, in the comments had something talking "sourcetreeconfig" file... Depending on how you read "repo's home directory" - this may sound like global config?

If the stuff you're looking to modify isn't in this file, you can also try the sourcetreeconfig file. That's located in <your_repo_'s_home_directory>/.git/sourcetreeconfig. .git is a hidden folder, so you'll need to use Terminal to get there or use Cmd+Shift+G in Finder to let you browse to that location.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Sourcetree

Sourcetree for Windows - CVE-2019-11582 - Remote Code Execution vulnerability

A vulnerability has been published today in regards to Sourcetree for Windows.  The goal of this article is to give you a summary of information we have gathered from Atlassian Community as a st...

4,962 views 0 12
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