Hello,

the .git folder is the repository itself: it contains the whole history of
your app. Removing it will remove the whole repository history, which may
or may not be good, depending on your requirement. Also, there's no point
ignoring it; it is not checked into the repository because it *is* the
repository. And finally: you can't see it on GitHub because GitHub stores
your repository in a bare format, and what you see on the web is the bare
repository's representation. There's no .git folder in a bare repository
(you can check it: execute "git init --bare" in an empty directory.

Best,
Gergely
On 31 Oct 2015 08:02, "Steven Ottz" <o...@aapt.net.au> wrote:

> I have made myself a boilerplate app and have uploaded it to github.
>
> I forgot to ignore .git folder as I don't want the versioning to go with
> it.
>
> I have now added it to my .gitignore but when I clone the app down from
> github the .git folder is downloaded. I can't see it in github cause its a
> hidden folder.
>
> How can I delete the .git folder from my repo. I tried rm etc but it
> cannot see the folder
>
> --
> 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