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

Anyway to configure http.cookiefile in SourceTree?

Jean-François Martin April 8, 2020

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?

Thanks.

1 answer

1 accepted

0 votes
Answer accepted
Ed Letifov _TechTime - New Zealand_
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.
April 9, 2020
Jean-François Martin April 9, 2020

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.

Ed Letifov _TechTime - New Zealand_
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.
April 9, 2020

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
TAGS
AUG Leaders

Atlassian Community Events