Git commit 规范

Angular’s Format

以angular团队的提交格式作为标准,Each commit message consists of a header, a body, and a footer.

1
2
3
4
5
<type>[optional scope]: <description>
blank line
[optional body]
blank line
[optional footer]

Read more

git配置遇到的问题

问题1:SSH密钥配置问题

问题描述:
执行 git clone git@github.com:... 时出现错误:

1
fatal: Could not read from remote repository.

原因:
GitHub 账户未配置 SSH 密钥,无法进行身份验证。

解决方案:
请参考:GitHub SSH 密钥配置教程

Read more