Dea*_*xel 6 git commit github
在GitHub上处理pull请求时,我经常想要在没有更改的情况下合并来自分支的提交.但是,我想在合并之后提交一些东西.我不想,git commit --amend因为这会改变我带来的提交,因此跟踪更改变得更加复杂.
git commit --amend
git commit除了消息之外,还有其他方法吗?原因是因为我可能想在Pull Request中提一些东西 - 一个指向测试用例的URL,或者提到一些其他的pull请求,所以Closes #123除了原始的pull请求之外我还可以使用一个提交钩子.
git commit
Closes #123
use*_*342 9
要提交空提交,请使用git commit --allow-empty.
git commit --allow-empty
归档时间:
13 年,2 月 前
查看次数:
211 次
最近记录: