Error when changing to master branch: my local changes would be overwritten by checkout

后端 未结 6 1983
难免孤独
难免孤独 2020-11-30 19:20

This question is similar to this one, but more specific.

I have a project with two branches (staging and beta).

I develop

6条回答
  •  难免孤独
    2020-11-30 19:41

    You can commit in the current branch, checkout to another branch, and finally cherry-pick that commit (in lieu of merge).

提交回复
热议问题