At a certain point in my Travis-CI deployment process I want to merge a set of files from a different branch in the same repo.
Unfortunately, I can't figure out how to do this. Simply setting up a bash script to run commands like git checkout origin master
gives me errors like:
error: pathspec 'origin' did not match any file(s) known to git.
error: pathspec 'master' did not match any file(s) known to git.
So my question is: how can I get my hands on files from another branche in Travis?
Thanks