git am

要应用上次提交的最新修改,请访问Tools >Git >Local Repository >Amend Last Commit

修改 Git 提交

要查看当前分支的日志,请选择Branch 中的分支名称。

要查看修改前的当前提交,请选择Show HEAD

要查看所选文件的修改差异,请选择Diff Selected Files

选择Commit 以修改提交。

要修改一系列相关提交中较早的注释,请选择Tools >Git >Local Repository >Fixup Previous Commit 。此操作使用交互式 rebase。如有冲突,建议使用合并工具。

另请参阅 如何使用 GitGit

Copyright © The Qt Company Ltd. and other contributors. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.