Skip to content

Instantly share code, notes, and snippets.

@gitolicious
gitolicious / git_clone.reg
Created March 10, 2018 12:24
Add a Windows Explorer context menu entry "Git Clone Clipboard" to git clone the repo address currently in your clipboard (insert your git path)
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Directory\Background\shell\git_clone]
@="Git &Clone Clipboard"
"Icon"="\"%GIT%\\mingw64\\share\\git\\git-for-windows.ico\""
[HKEY_CLASSES_ROOT\Directory\Background\shell\git_clone\command]
@="\"%GIT%\\git-bash.exe\" \"--cd=%v.\" -c \"echo --- Cloning $(cat /dev/clipboard) --- ; git clone $(cat /dev/clipboard) ; echo --- Press Enter to close --- ; read\""
@gitolicious
gitolicious / windows-bootstrap.md
Last active August 27, 2021 09:25
Windows bootstrap

WSL

from docs.microsoft.com

(to be replaced by wsl --install starting Win10 20262)

powershell 
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart

reboot machine