4 回答
TA贡献1869条经验 获得超4个赞
git push -f origin last_known_good_commit:branch_name
git push -f origin cc4b63bebb6:alpha-0.3.0
receive.denyNonFastForwards
[remote rejected]
.
git push origin :alpha-0.3.0 git push origin cc4b63bebb6:refs/heads/alpha-0.3.0
receive.denyDeletes
git update-ref refs/heads/alpha-0.3.0 cc4b63bebb6 83c9191dea8
TA贡献1858条经验 获得超8个赞
git push -f origin last_known_good_commit:branch_name
git push -f origin cc4b63bebb6:alpha-0.3.0
receive.denyNonFastForwards
[remote rejected]
.
git push origin :alpha-0.3.0 git push origin cc4b63bebb6:refs/heads/alpha-0.3.0
receive.denyDeletes
git update-ref refs/heads/alpha-0.3.0 cc4b63bebb6 83c9191dea8
TA贡献1813条经验 获得超2个赞
git checkout alpha-0.3.0 git reset --hard cc4b63bebb6 git push origin +alpha-0.3.0
TA贡献1942条经验 获得超3个赞
git revert
prompt> git revert 35f6af6f77f116ef922e3d75bc80a4a466f92650 [master 71738a9] Revert "Issue #482 - Fixed bug." 4 files changed, 30 insertions(+), 42 deletions(-) prompt> git status # On branch master # Your branch is ahead of 'origin/master' by 1 commit. # nothing to commit (working directory clean) prompt>
- 4 回答
- 0 关注
- 470 浏览
添加回答
举报