在GitHub上删除带有提交消息的引用?

时间:2013-04-17 17:09:43

标签: github command commit

可以从以下问题引用问题:

reference #xxx

是否有可能从提交问题中删除引用? (像这样:)

enter image description here

1 个答案:

答案 0 :(得分:-3)

当然,但它需要重写提交历史记录,这被认为是公共存储库上的不良行为。

但是,如果您决定,只需编辑提交并强制推送

git commit --amend
git push --force origin master