Utility/SourceTree

[Tip] SourceTree is very slow in Windows

blueasa 2017. 2. 9. 14:12

SourceTree가 Windows에서 너무 느려서 찾아 보다가, 

개선책이 보여서 적용해보고 괜찮아 진 것 같아서 정리해 놓음.




down voteaccepted

I know this is an old question, but you could also try this:

http://stackoverflow.com/a/24045966/371917

$ git config --global core.preloadindex true
$ git config --global core.fscache true
$ git config --global gc.auto 256

Secondly, here is a post that explains that git gc --aggressive may not be a great idea.


아래 [참조1] 링크에 보면 위와 같이 git config을 셋팅하라고 나온다.


근데 Windows 버전이면 어딘가 있을 것 같아서 찾아보니


SourceTree 우측 상단 Setting-Edit Config... 을 눌러보면 해당 설정과 관련있는 옵션들([core])이 나온다.

aggressive 옵션은 어떻게 넣어야 될지 모르겠으니 우선 패스하고,

3개 옵션이 안보여서 다른 옵션 보고 형식에 맞게 직접 추가했다.


[core]

repositoryformatversion = 0

filemode = false

bare = false

logallrefupdates = true

symlinks = false

ignorecase = true

hideDotFiles = dotGitOnly

preloadindex = true

fscache = true

[gc]

auto = 256



좀 더 지켜봐야 겠지만 계속 느끼던 렉이 사라진 것 같다. (만세!! -ㅁ-!!)




[참조1] http://stackoverflow.com/questions/28105472/sourcetree-very-slow-with-many-repositories

[참조2] https://believeinmiraclesx.wordpress.com/2015/11/13/sourcetree-is-very-slow-in-windows/

[참조3] https://answers.atlassian.com/questions/10413451/sourcetree-slow-in-windows-7-x64...

반응형