Use on LAN server
git --bare init demo.gitEstablished an empty warehouse, local
cloneAdd files later
pushTo the server above shows success, but login server
demo.gitThe added file cannot be seen in the directory, others
pullCan 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.