Git self-built server, you can use git remote add origin git@server:.

problem description

in the process of using Liao Xuefeng"s self-built website on git, I just took the same steps as him first, which can be cloned to the local and used normally.
but: when I git init a folder locally. Want to use: git remote add origin git@. directly At the time of command, this is a new warehouse, not the original sample.git, is it because I made a mistake, or is it just not possible to simply build a git server in this way

the environmental background of the problems and what methods you have tried

related codes

/ / Please paste the code text below (do not replace the code with pictures)

what result do you expect? What is the error message actually seen?

Git
Mar.31,2022

initialize it on the remote machine first. The
prompt is clear that the remote directory is not a git repository.
execute git init-- bare in this directory.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e5276b-5973d.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e5276b-5973d.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?