Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
+1 vote
2 views
in DevOps and Agile by (19.4k points)

When I clone a repository from bitbucket, my local git config in the repository-clone have always some settings, who do not match my global settings.

I want filemode = false. But in the local git config, it's always set to true by default after a git clone.

I am wondering where this local git settings come from and how I can edit this "skeleton".

1 Answer

0 votes
by (12.4k points)

There are these core settings, 

core.bare

core.repositoryformatversion

core.filemode

core.ignorecase

these should not be changed normally. so the first 2 are git's internal setting and the rest are for informing git about the behavior of OS when used on the git repository.

For more information on Git, you can join git training.

31k questions

32.8k answers

501 comments

693 users

Browse Categories

...