Git有一个非常有用的功能,可以使用":/“(冒号斜杠)操作符在以前的提交消息中进行搜索,并选取第一个匹配的消息,例如:
git show :/"unique part of some previous commit message"
git commit --fixup :/"unique part of some previous commit message"我已经使用它很长一段时间了,但现在我想在Git文档(在git-show,got-commit,git-log &c.)中找到它。不能。有人能给我指路吗?
发布于 2019-11-18 20:50:17
它在gitrevisions的文档中。
https://stackoverflow.com/questions/58914867
复制相似问题