我想知道python中的内容,=或, =方法?
来自matplotlib的示例:
plot1, = ax01.plot(t,yp1,'b-')
Run Code Online (Sandbox Code Playgroud) 我正在尝试从两个不同的工作分支中挑选更改,即我想挑选从分支linear到分支的最后 5 个提交diagonal。
git cherry-pick -n -x linear~6..linear
Run Code Online (Sandbox Code Playgroud)
正如预期的那样,第一个精心挑选的提交存在一些合并冲突。我把它们找出来,例如用git status,解决它们并用 更新索引git add。现在我想继续剩下的但是
git cherry-pick --continue`
Run Code Online (Sandbox Code Playgroud)
导致(抱歉是翻译的,英文错误信息可能略有不同):
error: Your local changes will be overwritten by "cherry-pick".
Note: Stash your changes by using "stash" in order to continue.
fatal: "cherry-pick" failed.
Run Code Online (Sandbox Code Playgroud)
我做错了什么?如何解决冲突,但仍然只在一次提交中从多个提交中进行挑选?这对我来说很重要,因为其中一些提交将通过跟随提交被撤销。
这可能是“How to do git cherry-pick --continue in SourceTree?”的重复。但我没有看到我的问题在那里得到回答。