mirror of
https://codeberg.org/scip/dot-emacs.git
synced 2025-12-17 12:30:59 +01:00
enhance comment
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user