如何找出我正在运行的git版本?(How can I find out what version of git I'm running?)

编程入门 行业动态 更新时间:2024-10-25 23:33:03
如何找出我正在运行的git版本?(How can I find out what version of git I'm running?)

我试图遵循一些教程来学习如何使用Git,但是某些说明是针对特定版本的。

有没有可以使用的命令找出我安装了什么版本?

I'm trying to follow some tutorials to learn how to use Git but some of the instructions are for specific versions.

Is there a command that I can use find out what version I have installed?

最满意答案

$ git --version git version 1.7.3.4

git help和man git都提示可以传递给命令行工具的可用参数

$ git --version git version 1.7.3.4

git help and man git both hint at the available arguments you can pass to the command-line tool

更多推荐

本文发布于:2023-08-04 15:42:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1417482.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:正在运行   版本   git   running   find

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!