Created
March 10, 2018 12:24
-
-
Save gitolicious/102117629bb89423fa0a1a4a3c0c5f48 to your computer and use it in GitHub Desktop.
Add a Windows Explorer context menu entry "Git Clone Clipboard" to git clone the repo address currently in your clipboard (insert your git path)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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\"" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment