github - SmartGit saveAfter saveBefore 是什么意思
大家讲道理
大家讲道理 2017-05-02 09:30:07
0
1
673

有一个分支在A阶段,错误的覆盖了文件file.php,之后stage -> commit -> push 已经更新到了远程(形成B)。
在 smartGit 中查看A阶段的这个文件,如何将他恢复到这个阶段,点了Revert Rebase HEAD Rebase to HEAD 但是还是没有用途。

第二种尝试,点击A阶段那个文件file.php右键 ,有Save After Save Before 这两个是有什么区别?

大家讲道理
大家讲道理

光阴似箭催人老,日月如移越少年。

reply all(1)
PHPzhong

What is mentioned aboveSelect whether to save the file state Before or After the selected commit is to save the state before or after submission.

If I understand correctly, file.php was overwritten when you submitted A, so if you want to return to the state of file.php before submitting A, then it should be Save Before.

I guessed

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template