gpt4 book ai didi

linux - 是否有像 Git 一样的 SVN 交互式提交菜单 --interactive?

转载 作者:IT王子 更新时间:2023-10-29 01:14:27 26 4
gpt4 key购买 nike

很可能你知道在 git 中你可以通过使用获得非常好的提交体验

git commmit --interactive

这将显示一个菜单,您可以在其中添加/更新/修补/还原内容,并按范围选择文件,例如:1-5,10-12,100-1135

$ git commit --interactive
staged unstaged path


*** Commands ***
1: [s]tatus 2: [u]pdate 3: [r]evert 4: [a]dd untracked
5: [p]atch 6: [d]iff 7: [q]uit 8: [h]elp
What now>

我希望在 SVN 中获得与 shell 命令 相同的功能。
你知道什么是SVN命令吗?

最佳答案

坏消息是 svn 没有交互式命令行提示这样的东西。好消息是您可以自己编写并成为第一个想出这种有用工具的人。

关于linux - 是否有像 Git 一样的 SVN 交互式提交菜单 --interactive?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8739067/

26 4 0