Cook

Pull files from one branch to current branch

  • If we have a base branch that we want to keep, but several files from another branch that we want to pull over, from the base branch we can run:
    • git checkout <other-branch-name> -- file1.js file2.js