覆盖已有提交
覆盖线上已经提交的commit
git reset --soft [过去某个commithash]
... (做出修改)
git add (fix)
git commit -m 'fix'
git push -f最后更新于
这有帮助吗?
覆盖线上已经提交的commit
git reset --soft [过去某个commithash]
... (做出修改)
git add (fix)
git commit -m 'fix'
git push -f最后更新于
这有帮助吗?
这有帮助吗?