Skip to content

Instantly share code, notes, and snippets.

@jasonm23
jasonm23 / magit-duet-commit.el
Created April 1, 2017 05:35
Use Magit and Emacs with git-duet (Just a basic commit feature)
(require 'dash)
(defvar magit-duet--default-commit-popup-actions nil
"Store the magit-commit-popup here for
de-initializing. magit-duet-commit")
(defun magit-duet-commit (&optional args)
"Create a new duet commit"
(interactive (if current-prefix-arg
(list (cons "--amend" (magit-commit-arguments)))