Skip to content

Instantly share code, notes, and snippets.

@yveszoundi
Created July 23, 2014 22:30
Show Gist options
  • Save yveszoundi/1894d0e2062567bcbaf6 to your computer and use it in GitHub Desktop.
Save yveszoundi/1894d0e2062567bcbaf6 to your computer and use it in GitHub Desktop.
magit clone url
(defun magit-clone-url ()
(interactive)
(let ((git-repo-url (read-from-minibuffer "Enter git repo URL: ")))
(magit-git-command (concat " clone " git-repo-url)
default-directory)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment