我正在使用git stash
很多。大多数时候我忘记设置消息(git stash save <message>
)。
如何在正常 git stash
上强制发送消息命令?
来自 git stash 帮助页面:
Calling git stash without any arguments is equivalent to git stash save. A stash is by default listed as "WIP on branchname …", but you can give a more descriptive message on the command line when you create one.
最佳答案
无需强制执行任何操作,您可以 stash 自己的消息:
git stash save“您的 stash 消息”
关于git - 强制在 git stash 上发送消息,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38872509/