Re: [git-users] Remove .git folder from Master Repo

2015-11-02 Thread Nelson Efrain A. Cruz
Hi.
Whenever you clone (git clone) a git repo you get a repository, this means
that you can't use git init because it's already a repo and you will have
the .git folder. Now what you may want it's to discard the repo history,
it's that what you want?

El lun., 2 de nov. de 2015 a la(s) 8:02 a. m., Steven Ottz 
escribió:

> 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.


Re: [git-users] Remove .git folder from Master Repo

2015-11-02 Thread Gergely Polonkai
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"  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.


Re: [git-users] Remove .git folder from Master Repo

2015-11-01 Thread Steven Ottz

>
> Hi Thanks
>
>
Well for some reason it has added itself to my github repo and I would like 
to get rid of it but don't know how as per my initial post.

Any ideas?

-- 
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.


Re: [git-users] Remove .git folder from Master Repo

2015-11-01 Thread Gergely Polonkai
How do you know it is added if GitHub does'n show it?

GitHub doesn't hide hidden files from its listing (see the .travis.yml file
in this repo[1] for an example.)

Also note that you can't actually add the .git folder to your history: the
command ”git add .git" doesn't do anything.
On 2 Nov 2015 05:21, "Steven Ottz"  wrote:

> Hi Thanks
>>
>>
> Well for some reason it has added itself to my github repo and I would
> like to get rid of it but don't know how as per my initial post.
>
> Any ideas?
>
> --
> 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.