I followed this post to set up a remote git repository.
Instead of starting from scratch,
- I did some development in my pc1 (the repo was created using git init)
Now I wanted to move the repo to the server (same subnet)
ssh git@example.com
mkdir my_project.git
cd my_project.git
git init --bare
Then locally
cd my_project
git remote add origin git@example.com :my_project.git
git push -u origin master
Now, in the remote (server) repo, I see these folders
branch configuration description HEAD hooks info objects refs
I expected / want to see the same content as my local (pc1) git repo
bin doc src
source share