Can’t git Remote Warehouse See Local push Files?

  git, question

Use on LAN servergit --bare init demo.gitEstablished an empty warehouse, localcloneAdd files laterpushTo the server above shows success, but login serverdemo.gitThe added file cannot be seen in the directory, otherspullCan you see my push file?

Bare warehouses store only historical and meta information (Detailed format), the working directory will not be maintained.

You can add the –workspace parameter when running git commands (such as checkout) to indicate the working directory.