Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Comment from Git source:</p> <pre><code>/* * Read a directory tree. We currently ignore anything but * directories, regular files and symlinks. That's because git * doesn't handle them at all yet. Maybe that will change some * day. * * Also, we ignore the name ".git" (even if it is not a directory). * That likely will not change. */ </code></pre> <p>Experiment to see what happend if I create a file <code>.git</code> and try to add it: (on Windows I cannot create a file <code>.git</code> when there is already a <code>.git</code> folder. I also could have created a <code>.git</code> elsewhere in a sub directory, but wanted to try out <code>--git-dir</code> and <code>--work-tree</code> which I haven't used before. After all I am experimenting. This also allows me to show that I can add the git metadata folder as seen below) </p> <pre><code>git --git-dir="c:/test" init touch blah git --git-dir="c:/test" --work-tree="." add . git --git-dir="c:/test" --work-tree="." status ( shows blah added) touch .git git --git-dir="c:/test" --work-tree="." add .git ( no output as usual) git --git-dir="c:/test" --work-tree="." status ( only blah shown) </code></pre> <p>So yeah, <code>.git</code> - be it directory or file, is ignored by git.</p> <p>And if I do something like below:</p> <pre><code>git --git-dir="c:/test" --work-tree="c:/test" add c:/test </code></pre> <p>all the meta files get added.</p> <p>So again, it is only <code>.git</code> that is ignored not the git metadata folder (that you set via <code>--git-dir</code>) as far as I can see.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload