小编aar*_*thn的帖子

“gitcherry-pick--Continue”和“gitcommit”有什么区别?

如果cherry-pick遇到冲突,git会提示执行git cherry-pick --continue

You are currently cherry-picking commit 71e26b4f.
  (all conflicts fixed: run "git cherry-pick --continue")
  (use "git cherry-pick --abort" to cancel the cherry-pick operation)

Changes to be committed:

        modified:   app/file1.ts
        modified:   app/file2.ts
Run Code Online (Sandbox Code Playgroud)

此时,我们也可以这样做git commit

git cherry-pick --continue那么和之间有什么区别git commit

git

2
推荐指数
1
解决办法
2518
查看次数

改变git中的分支点

我们有两个分支Branch1和Branch2,彼此相差100个提交.我从Branch1创建了一个新的BranchA分支.在BranchA上没有提交任何提交.

有没有办法改变BranchA看起来它是从Branch2分支出来的,所以我可以提交一个提交并提出针对Branch2的拉取请求 - 但它不会从Branch1进行任何提交?

git github

1
推荐指数
1
解决办法
175
查看次数

标签 统计

git ×2

github ×1