git clone effectively does the following:

mkdir projectdir
cd projectdir
git init
git remote add origin projecturl
git fetch origin
git checkout -b master origin/master

(of course, it's a bit more complicated, but it comes down to this)

As you see, there is a "git init" there, which, among other things, create
the .git directory.
On 2 Nov 2015 12:02, "Steven Ottz" <o...@aapt.net.au> wrote:

> Because when I start a new project and git clone from github it pulls down
>>> a .git folder with all of the versioning from the repo.
>>
>>
> Because it was hidden, the clone I pulled down I went git init and it said
> git had already been initalized and when I showed all files I saw it had
> all the versioning with it
>
> --
> You received this message because you are subscribed to the Google Groups
> "Git for human beings" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to git-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to