Moving some files from one commit to another branch

Say you've added a few files to a commit and you decide later to move it to a different branch. You need a couple of git commands:

First. You need to split the commit into multiple commits which done via an interactive rebase:

Chris Over 4 years ago