git commitizen
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
熊二 88e36af2bb 项目 git 配置 1 year ago
survey feat(*): 提交指定的文件 1 year ago
.gitignore 🎉 初始化项目 1 year ago
README.md 项目 git 配置 1 year ago
go.mod feat(*): 提交指定的文件 1 year ago
go.sum 🎉 初始化项目 1 year ago
main.go feat(*): 自动添加文件到GIT缓冲区 1 year ago

README.md

安装

  1. 使用 git clone 命令下载源码
  2. 进入源码目录执行 go install 命令
  3. 删除已下载的源码

使用

# 设置用户名
git config --global user.name "你的名字"
# 设置邮箱
git config --global user.email "你的邮箱"
# 拒绝提交包含混合换行符的文件
git config --global core.safecrlf true
# 提交时转换为LF,检出时不转换
git config --global core.autocrlf input

在项目目录下执行 gcz 按提示操作。