当我键入git commit file.c
时,vim
用类似的符号打开
# Please enter the commit message for your changes. Lines starting
# with '#' will be ignored, and an empty message aborts the commit.
# Explicit paths specified without -i or -o; assuming --only paths...
# On branch work <- From here ->
# Changes to be committed:
# modified: file.c
#
# Untracked files:
# job.sh <- To here ->
我可以说出我引用的部分类似于git status
的输出。如何更改?我希望它显示git diff file.c
。能做到吗如果是,怎么办?
谢谢