We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello,
I recently switch from DVC to magit since I exclusively use git now.
I install magit from MELPA and wonder if some of my DVC workflow could be done with magit:
Today, I'm doing points 1 to 5 with magit by diverting some vc command to use their prefix keys (without disturbing other backend).
The point 6 is the one I'm looking for, with DVC, when on a hunk, I hit C-x 4 a and it insert to the “COMMIT_EDITMSG” buffer the following line
C-x 4 a
* path/to/file (function name): <POINT>
with point position denoted by the <POINT> place holder.
<POINT>
The text was updated successfully, but these errors were encountered:
Looking at add-change-log-entry, I think it could be split in several pieces to be more useful to others.
add-change-log-entry
Sorry, something went wrong.
I should have read more carefully the code of magit, I found the magit-commit-add-log which does the job.
magit-commit-add-log
I just need to bind a keymap for it:
;; Insert commit log entry (define-key magit-mode-map (kbd "M-l") 'magit-commit-add-log)
No branches or pull requests
Hello,
I recently switch from DVC to magit since I exclusively use git now.
I install magit from MELPA and wonder if some of my DVC workflow could be done with magit:
Today, I'm doing points 1 to 5 with magit by diverting some vc command to use their prefix keys (without disturbing other backend).
The point 6 is the one I'm looking for, with DVC, when on a hunk, I hit
C-x 4 a
and it insert to the “COMMIT_EDITMSG” buffer the following linewith point position denoted by the
<POINT>
place holder.The text was updated successfully, but these errors were encountered: