Skip to content

Instantly share code, notes, and snippets.

@cchamberlain
cchamberlain / git-fix.ps1
Last active July 5, 2022 16:31
Applies registry change to disable luafv and make git much faster on windows (requires restart)
<#
This script will disable luafv on your system and likely make Windows versions of git faster after restarting.
### DISCLAIMER: THIS WILL MODIFY HOW SECURITY WORKS ON YOUR SYSTEM AND I WOULD ONLY USE ON A DEV MACHINE ###
### USE AT YOUR OWN RISK ###
#>
Push-Location
Set-Location HKLM:\SYSTEM\CurrentControlSet\Services\luafv
Set-ItemProperty . Start 4