Greetings Created a remote git --bare init grid repository git --bare init grid . On the local machine I create the grid folder and execute the git init command in it. Then add a remote repository git remote add origin ssh **** and then git clone ssh: Next, create files that will be in the project and perform commit and execute git push origin master
Counting objects: 5, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (4/4), done.
Writing objects: 100% (5/5), 1.03 KiB | 0 bytes / s, done.
Total 5 (delta 0), reused 0 (delta 0)
To ssh: // g ******
* [new branch] master -> master
However, going through ssh to the remote repository, there are no files in the project. What is wrong with me, I missed something?
.gitdirectory on your local machine. this is the repository (repository). and the files that you created in the working directory, you will not find there (at least in the form in which they are present in the working directory). - aleksandr barakin