Ignore Files | Git 删除 .gitignore 生成之前上传的文件 |
Access Credential | GitHub/Gitee 等托管平台添加 SSH keys |
Config | - Git 查看和修改用户名和邮箱 - GitHub/GitLab 为不同的项目修改提交名字 user.name 和邮箱 user.email |
Branch | Git 删除本地和远程分支 |
Remote Repository | Git 修改远程地址 |
Commit | - Git Commit message 和 Change log 编写规范/指南 - Change a commit message: git commit --amend - 查找第一条提交记录: git rev-list --max-parents=0 HEAD git show ${Commit} |
Basic | Git 基础操作 |
Install | - Linux 搭建 Git 服务器 - 如何在 CentOS 7.x/6.x 安装/更新新版 Git |
Development | npm 直接安装 GitHub/GitLab 仓库代码及 npm link 本地调试 |
GitLab | - GitLab 指定 Runner 执行任务(CI/CD/JOB) - Webpack 多页面&GitLab 增量构建部署模板 - 使用 GitLab CI/CD 和阿里云 CLI 自动部署前端项目 |
Tag | git tag -a v0.0.0 -m "upgrade" |
Pull | 批量拉取/git pull 指定文件夹下面所有 Git 项目的最新代码 |
2023年5月25日
git tag -a v1.2.0 -m "Release v1.2.0"
2023年3月2日
```
git remote set-url origin git@github.com:mazeyqian/#.git
```
2022年12月11日
Set attributes for the single project.
```
cd .git
git config user.name "name"
git config user.email "email"
cat .git/config
```
2022年5月21日
git push origin v1.4.39
2022年5月21日
git tag -a v1.4.39 -m "Pandemic Version"