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

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

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

2015-11-02 Thread Steven Ottz
> > 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 t

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 0

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 t

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

2015-11-01 Thread Gergely Polonkai
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* t

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

2015-10-31 Thread Steven Ottz
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 hi