Last active
February 15, 2024 09:57
-
-
Save mbiemann/d0f3e05453a65221ef1774839d324b57 to your computer and use it in GitHub Desktop.
Git Copy File from one branch to another
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git checkout <target_branch> | |
git diff <source_branch> --name-only | cat | |
git checkout <source> "file name" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment