title: git commit symlink as a regular file
body: <p>Suppose I have a file <code>fname</code> which is a symlink to a file from some other repository/project, say <code>../../proj2/fname</code>.</p>
  
  <p>Is there a way to add/commit <code>fname</code> as a regular file?</p>
  
  <p>It seems that, by default, git gives the file mode 120000 and sets the path to the linked file as the blob content.</p>
  
  <p>I know this because <code>git ls-tree</code> shows mode 120000 for the file, and <code>git cat-file -p</code> shows <code>../../proj2/fname</code> as the blob's content.</p>