I have a single file in a branch called 'production' that I want overwritten by a specific file in another branch called 'sqa'.
The nature of the file is that it is not code where there are multiple contributors.
What command would do this? (neither branch is master) - one branch is called 'production' and the other 'sqa'.
The file in branch 'sqa' I want to get into the branch 'production' and have them be identical after running the command, avoiding any potential merge conflict (force overwrite, force accept the file in 'sqa') /sqa/file => /production/file
.
If this is possible, and if anyone has actually done this and tested this, it would be so greatly appreciated (for a single file only, not multiple files or the whole branch merge).
If the file exists in branch 'sqa' but not in 'production', would the command work the same (to copy it there?)