Skip to content

Instantly share code, notes, and snippets.

@bitops
Created December 9, 2014 21:21
Show Gist options
  • Select an option

  • Save bitops/fbf20ddc7a68aa1a73ca to your computer and use it in GitHub Desktop.

Select an option

Save bitops/fbf20ddc7a68aa1a73ca to your computer and use it in GitHub Desktop.
;; a bold new beginning
(defun git-status (dir)
"Show magit status for dir"
(interactive (list (read-directory-name "Git project dir: ")))
(magit-status (expand-file-name dir)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment