title: AWS CodeDeploy Fail: The deployment failed because a specified file already exists at this location
body: <p>I am trying to set AWS Code deploy with Github to automate my deloyment. the problem i am having is the ec2 instance is already active and has the web app code. the problem is there is also other content on the instance that I don't want under source control. 
  Code deploy is failing with the following error:</p>
  
  <pre><code>The deployment failed because a specified file already exists at this location
  </code></pre>
  
  <p>this is because the source code is on the instance and was not added as a revision.</p>
  
  <p>So my question is there any way to make the code deploy recognise the current files on the instance as an inital revision?</p>