I see several operations such as log and diff with the magit-xxx-buffer-file syntax which operate on the active buffer.
I am looking for the command which would stage or commit the buffer I am editing.
I see several operations such as log and diff with the magit-xxx-buffer-file syntax which operate on the active buffer.
I am looking for the command which would stage or commit the buffer I am editing.
M-x magit-stage-file
is the command to stage the current buffer's file.
Or C-cM-g for magit-file-popup
and then s