Skip to content

Instantly share code, notes, and snippets.

View macel94's full-sized avatar
:shipit:
Available 🌋

Francesco Belacca macel94

:shipit:
Available 🌋
View GitHub Profile
@macel94
macel94 / .gitconfig
Created April 28, 2024 16:15
global .gitconfig in WSL that works and forces my auth for github but delegates to gcm the actual auth
[credential "https://dev.azure.com"]
useHttpPath = true
[credential]
helper = /mnt/c/Program\\ Files/Git/mingw64/bin/git-credential-manager.exe
[credential "https://github.com"]
username = macel94
@macel94
macel94 / .wslconfig
Created May 1, 2024 09:46
Working example of wslconfig
# Settings apply across all Linux distros running on WSL 2
[wsl2]
# Limits VM memory to use no more than 4 GB, this can be set as whole numbers using GB or MB
memory=4GB
# Sets the VM to use two virtual processors
processors=2
# Sets amount of swap storage space to none, default is 25% of available RAM