【发布时间】:2016-03-13 05:58:16
【问题描述】:
我是 GIT(Atlassian Stash)的新手,使用 SourceTree 进行所有 GIT 操作。我使用 Merge Branch1 into current branch 选项在 GIT 中合并了两个分支,并将更改提交到分支。
我了解了Reset current branch to this commit,但它只适用于本地分支,不适用于远程分支。
我在最后一次有效提交时尝试Reverse commit,但它显示以下错误
git -c diff.mnemonicprefix=false -c core.quotepath=false revert --no-edit 7195cc8f27802568becdc09b47effaeb45cc9eeb 错误:提交 7195cc8f27802568becdc09b47effaeb45cc9eeb 是合并但没有 -m 选项 被给予。致命:还原失败
我该如何解决上述问题
【问题讨论】:
标签: git version-control merge atlassian-sourcetree bitbucket-server