How do you specify autocrlf = true for all repositories in SourceTree ?
SourceTree allows you to specify a git config for each repository, so you'd need to manually add autocrlf = true to each config file. Does SourceTree allow you to specify a global git config for all repositories ?
As far as I know, you cannot do this with SourceTree directly - but as usual, git-commandline is your friend:
You've got three levels of .gitconfig - which are stored at different locations
You set options within those three configuration files using a dedicated option:
git config --local/–global/–system ....
Hope that helps
This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.Read more
Supported Platforms macOS Sourcetree has a lot to offer and, like many developer tools, finding and using it all can be a challenge, especially for a new user. Everyone might not love ...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs