使用 IntelliJ 修改 git commit 消息 [英] Using IntelliJ to amend git commit message

查看:29
本文介绍了使用 IntelliJ 修改 git commit 消息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

可以使用 IntelliJ 修改 git commit 消息,还是应该求助于命令行?

Can one amend a git commit message using IntelliJ, or should one resort to command line?

请问怎么做?

推荐答案

View => Tool Windows => Version Control.(Windows (Alt + 9)/OS X (Cmd + 9))

View => Tool Windows => Version Control. (Windows (Alt + 9) / OS X (Cmd + 9))

IntelliJ 2017.1 及更高版本 => 转到 Log 并右键单击 + reword 或按 F2.

IntelliJ 2017.1 and higher => Go to Log and right click + reword or press F2.

虽然你在同一个分支上,(你签出的分支是一样的)

While you are on the same branch, ( your checked out branch is the same )

这篇关于使用 IntelliJ 修改 git commit 消息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆