$ git diff feature/C161920-5075-xtp-implementation-of-new-fidessa develop
fatal: ambiguous argument 'develop': unknown revision or path not in the working tree. Use '--' to separate paths from revisions, like this: 'git [...] -- [...]'
the first branch is my local branch which contains my code changes; the second branch is a remote branch which will be deployed into UAT daily;
What I want is to get the diff between my local branch and develop branch and patch the file into UAT automatically.
I can get the diff from Stash portal when create one pull request, but I want to get it from command line so that I could write some scripts to get the diff files and patch them into UAT by one click.