Git 常用命令整理

Git 常用命令整理

查看安装的 Git 版本

git --version

如图所示:

配置 Git 个人信息

git config --global user.name "liwei"
git config --global user.email "121088825@qq.com"

查看刚刚的配置是否生效

git config -l

如图所示:

原文地址:https://www.cnblogs.com/liweiwei1419/p/6264057.html