跳至主要內容

Git 安装

Windows版本下载open in new window

// 全局配置
git config --global user.name "Michael-LiuQ"
git config --global user.email "dennie.liu@163.com"
git config --global -l
git config --global --list
git config --global http.version HTTP/1.1

# 安装 lfs(大文件存储, windows最大支持 4GB)
git lfs install
apt-get install git-lfs

// 查看远端仓库信息
git remote -v

// 打轻量级tag
git tag <tag-name>
git push origin --tags
上次编辑于:
贡献者: Michael-LiuQ