git add file from another branch
git checkout <branch1>
git checkout <branch2> -- <file_name>
# where <branch1> is the one you want to add the file to
# and <branch-2> is the one where the file is located
git add file from another branch
git checkout <branch1>
git checkout <branch2> -- <file_name>
# where <branch1> is the one you want to add the file to
# and <branch-2> is the one where the file is located
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us