The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to place a .gitconfig File inside SourceTree embedded git

Deleted user
April 1, 2015

If the Home Environment Variable inside Windows is mapped to a Network Driver, SourceTree has unknown as user, when committing without Network connection.

Is it possible to place the .gitconfig File inside the SourceTree Folder, using the embedded git?

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Balázs Szakmáry
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 Champions.
April 1, 2015

If you use system git and you have an explicitly set HOME environment variable pointing to the location of the .gitconfig, it will work correctly in SourceTree and all other Git clients. (If the HOME variable is not explicitly defined, SourceTree guesses it in a different way from other software.)

If you try to solve this problem inside the embedded Git of SourceTree, your solution will only work in SourceTree. (Not sure how to do this, but I guess if you fill in the user/e-mail in the Options screen in SourceTree, it should apply to the embedded Git and be stored in the appropriate location.)

TAGS
AUG Leaders

Atlassian Community Events