Skip to content

Instantly share code, notes, and snippets.

@baron
Created March 24, 2011 11:25
Show Gist options
  • Save baron/884914 to your computer and use it in GitHub Desktop.
Save baron/884914 to your computer and use it in GitHub Desktop.
commit and push in one go
(defun magit-commit-then-push ()
(interactive)
(progn
(magit-log-edit-commit)
(magit-push)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment