enhance comment

This commit is contained in:
2023-06-20 13:14:31 +02:00
parent f25e3f362b
commit 7449095808

View File

@@ -87,7 +87,8 @@
'("s" "dired" magit-dired-jump)) '("s" "dired" magit-dired-jump))
;; for a one file commit just do the stage+commit in 1 step just as ;; for a one file commit just do the stage+commit in 1 step just as
;; with git commit -am ;; with git commit -am, the command is "ci" just like my git alias
;; for the same pupose, which does "git commit -am"
(defun tvd-stage-and-commit-current-buffer() (defun tvd-stage-and-commit-current-buffer()
(interactive) (interactive)
(magit-stage buffer-file-name) (magit-stage buffer-file-name)