...
...
Moving Changes to Your Branch
At a File Level:
...
Cherry-picking a Commit:
- If an entire file or a set of files were changed in a specific commit and you want to bring those changes into your current branch, you can cherry-pick that commit.
- Right-click on the commit and select
Cherry-pick
. This will apply all changes from that commit to your current branch.
Manual File Level Changes:
...
At a Code Level:
...
Partial Cherry-picking:
- PyCharm allows partial cherry-picking where you can choose specific files or even chunks of code from a commit.
- Right-click the commit, choose
Cherry-pick...
, and in the dialog, select the specific files or parts of files you want to cherry-pick.
Manual Code Level Changes:
...