DEV Community

Cover image for Make git faster in WSL2
Christoph Grabo
Christoph Grabo

Posted on

Make git faster in WSL2

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.

Top comments (1)

Collapse
 
sloan profile image
Sloan the DEV Moderator

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.