Skip to content

Instantly share code, notes, and snippets.

@cfstras
Last active August 29, 2015 14:00
Show Gist options
  • Save cfstras/be3cfa95b2e2637577a4 to your computer and use it in GitHub Desktop.
Save cfstras/be3cfa95b2e2637577a4 to your computer and use it in GitHub Desktop.
git tips for big repos on windows

Git tips for big repositories on Windows

Performance

core.fscache

core.fscache = true

to enable uber-speed git status.

pack.*

pack.threads = 1
pack.windowmemory = 256m

for packing big repos on wimpy machines without crashing

Prettyness

diff.color

diff.color = always

for pretty diffs wherever you go

git-svn

svn.pushmergeinfo

svn.pushmergeinfo = yes

to make svn know about merges

core.autocrlf

core.autocrlf = false
core.eol = crlf

svn doesn't do auto-crlf, so enabling this would screw stuff up when switching between machines.

core.ignorecase

core.ignorecase = true

especially on windows.

Misc

sslcert

http.sslcert = C:\\Users\\me\\bla\\cert.p12

to automatically use a specified ssl certificate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment