Comments (3)
Here are several misunderstandings here:
- The line ending conversion as chosen during setup affects your global configuration in
~/.gitconfig
(aka%HOME%\.gitconfig
). If the repository-local configuration in.git/config
does not overrideautocrlf
, the global one is in place. So everything is alright here. - The request for a GUI to edit options is a completely unrelated topic and should go to a separate feature request. However, don't raise your hopes too high, as most people (including me) probably don't see the benefit of a dedicated editor vs. using your GUI editor of choice to edit
.git/config
directly or simply using thegit config
command line interface. - TortoiseGit is a separate project and issues regard it should go here.
from git.
Thanks for the answer and pointing me to that file.
That file didn't hold the autocrlf configuration though.
But I can confirm the configuration is being applied through
git config --list
So... I found that there are multiple global configurations. One is the file you said, and other one is
C:\Program Files (x86)\Git\etc\gitconfig
It seems this file is created during installation and if you run this command:
git config --global core.autocrlf false
then is saved in ~/.gitconfig
and this global configuration overrides the one in "program files" folder
This is quite confusing.. why not to use only a single global configuration file?
2nd thing.. I'm not requesting for a config GUI editor. It exits already. GUI -> Edit -> Options...
For example you can change there name / email and it will affect the ~/.gitconfig
file.
Conclusion... I think is a very important sensitive configuration.. (proof of that is that is shown during installation) and then it's hidden from the user who wants to verify/change this setting.
Also I found very nice explained in the installation the meaning of the options, so why not to show this dialog/options again in the Git GUI options ?
UPDATE. I can't add any more comments in this issue suddenly :/
In reply to your answer (below)
I didn't mean git gui and neither Tortoise. I don't mean to be rude, but it's strange that you don't know what components msysgit installs
I was referring to "Git Gui" tool. This is a screenshot how it looks the msysgit Git Gui with the options dialog open
http://i.imgur.com/W00Jf.png
Yes.. for me this issue is closed. Thanks for the discussion! =)
from git.
The reason why there are two "global" configuration files is because of Git's Linux background: The one in Git\etc\gitconfig
is the system configuration file, with has the defaults for all users on the system. The one in ~/.gitconfig
is the user-global file which has the defaults for all repositories of the current user. Anyway, sorry for confusing you by saying the installer would write write the autocrlf
setting to the global configuration while it is in fact the system configuration.
I don't know the GUI-> Edit -> Options menu, probably because I don't use TortoiseGit as I prefer the command line for Git.
When you refer to "Git GUI" I assume you don't really mean the "git gui" tool, but the GUI / Explorer context menu entries as provided by TortoiseGit. If that's the case, please file an feature request with that project. Otherwise, this issue is evolving too much into a support discussion for my taste, so you should consider posting to the mailing list instead.
Thanks!
from git.
Related Issues (20)
- Redirect to Git for Windows 2.x HOT 10
- Why I am not able to use curl commands ? HOT 1
- "Entrust Root Certification Authority - G2" is not trusted HOT 5
- .git subdirectory is created in the wrong place on checkout when using relative directory HOT 16
- umeng123
- Windows installer not cryptographically signed. HOT 3
- Using mingw-perl HOT 5
- git rev-list crashes when --show-notes and --grep are specified HOT 2
- Git SVN crash HOT 3
- Git daemon and TortoiseGit HOT 2
- fox
- Git Blame - file.dot is not a Word Document HOT 3
- Missing patch tool for release candidate of Git for Windows. HOT 1
- Custom mergetool cmd support in git GUI HOT 1
- Git.exe is stuck if I run a wrong command. HOT 1
- Not able to clone gerrit repo over https via gitbash(windows client) HOT 5
- please add a release to announce the move of release downloads to the git-for-windows repo HOT 7
- <invalid>
- Filename too long when cloning a repo HOT 3
- Cannot Create Shortcut, Cannot Find App, Cannot Open App HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from git.