答:grep "jello$"
如:git branch输出以下内容:
yes-jello-good
yes-jellos
yes-jello
那么使用以下命令只能过滤出一行:
$git branch | grep "jello$"