答:grep "jello$"

如:git branch输出以下内容:

yes-jello-good

yes-jellos

yes-jello

那么使用以下命令只能过滤出一行:

$git branch | grep "jello$"

yes-jello

相关文章:

  • 2022-12-23
  • 2021-11-27
  • 2021-08-15
  • 2022-03-08
  • 2022-12-23
  • 2022-03-05
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-11-27
  • 2021-09-14
  • 2021-08-17
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案