I have push and successively clone a repository with git. I have noticed that git have automatically excluded Configure directory.
Where is this setup? Where I can inform Git to consider that folder too?
I have push and successively clone a repository with git. I have noticed that git have automatically excluded Configure directory.
Where is this setup? Where I can inform Git to consider that folder too?
How do you know that it is automatically excluded?
There are a couple of things to look for:
*
which will exclude everything.excludesfile
this points to a file which is used as the .gitignore file for all your projects on that system.For example here is what I have
[core]
excludesfile = ~/.gitignore
I wrote about the three major ways of excluding files in git elsewhere.
Look at the .gitignore
file in your repo. If you don't have one, look for the core.excludesfile
value and the file that it points to, to see if Configure directory is ignored. Read here for more info: http://schacon.github.com/git/gitignore.html
I donot think git will exclude your configure directory by default, how did you create your local repository and are you sure directory is not empty? But it should have an .gitignore file to ignore your files, if not look into core.excludesfile
. Patterns which a user wants git to ignore in all situations (e.g., backup or temporary files generated by the user’s editor of choice) generally go into a file specified by core.excludesfile in the user’s ~/.gitconfig.