title: How do I make git add my code without recognizing it as a submodule?
body: <p>I have two files, say FrontEnd and BackEnd in two separate git repos. </p>
  
  <p>I want to combine them into one repository, and copy-pasted them into a brand new repo.</p>
  
  <p>I get this error:</p>
  
  <pre><code>hint: You've added another git repository inside your current repository.
  hint: Clones of the outer repository will not contain the contents of
  hint: the embedded repository and will not know how to obtain it.
  hint: If you meant to add a submodule, use:
  hint: 
  hint:   git submodule add &lt;url&gt; BackEnd
  hint: 
  hint: If you added this path by mistake, you can remove it from the
  hint: index with:
  hint: 
  hint:   git rm --cached BackEnd
  hint: 
  hint: See "git help submodule" for more information.
  </code></pre>
  
  <p>And the BackEnd file does not upload.</p>
  
  <ol>
  <li>How can I Upload just as it is (losing all the previous changes)</li>
  <li>What are the pros and cons vs using the submodule?</li>
  </ol>