I'm creating a tutorial for my coworkers on 'how to Git', and I added a simple tutorial for add
, commit
, and push
, and now I want them to verify what they did worked.
I thought I would say "Go to the remote folder, and verify the new files are there", but my remote looks like the inside of /.git/
.
Did I setup my remote incorrectly?
I create it as follow:
git init --bare .\tutorialName\Remote
I had hoped to have a structure equal to the local repository, but that does not appear to be the case.
my remote looks like the inside of
/.git/
.
That's exactly what a bare repo is.
What you normally think of as a local "git repo" is really two things:
.git
A bare repo does not have #2.