Skip to content

Instantly share code, notes, and snippets.

;; If using el-get
(add-to-list 'el-get-sources
'(:name magit
:after (lambda ()
(defun magit-browse-github (commit)
"Open a browser pointing to the tracked branch on GitHub.
With prefix argument, go to the commit HEAD is at."
(interactive "p")