Skip to content

Git

在纯文本版本控制,Git 是事实标准。

Windows 安装 Git ,附带安装 Git Bash ,可以使用 openssl、sed 等命令。

安装完成后,需要配置邮箱和用户名,一般是全局配置,也可以局部配置,配置文件在 ~/.gitconfig 。

git config --global user.email "your.email@abc.com"
git config --global user.name "Your Name"

查看配置。

git config --global --list

生成 SSH 密钥,用于远程仓库。

联系 math@baima.site