DEV Community

Cover image for Make git faster in WSL2

Make git faster in WSL2

Christoph Grabo
・1 min read

For quite some time I wondered why my prompt was so slow in my Linux environments under WSL2. After some digging I finally figured it out: not only has my prompt tool an issue, but also in general the filesystem performance of WSL2 is not great.

On my blog I tell you the full story and provide you a solution on how to speed up git for you within WSL2.

I came not up with the fix, so I'm very grateful for the work of others. Writing it down and provide some explanations is my way of contributing back to the community.

Discussion (1)

sloan profile image

Hi there, we encourage authors to share their entire posts here on DEV, rather than mostly pointing to an external link. Doing so helps ensure that readers don’t have to jump around to too many different pages, and it helps focus the conversation right here in the comments section.

If you choose to do so, you also have the option to add a canonical URL directly to your post.