eclipse-che / che

Kubernetes based Cloud Development Environments for Enterprise Teams
http://eclipse.org/che
Eclipse Public License 2.0
6.99k stars 1.19k forks source link

Display full content of the gitconfig on the dashboard #23240

Open RomanNikitenko opened 2 weeks ago

RomanNikitenko commented 2 weeks ago

Is your enhancement related to a problem? Please describe

It's possible to edit gitconfig from the dashboard: User Preferences => Gitconfig => Import Git Configuration. It's very useful for me, I also think we could improve that functionality.

For example, I added alias section to the config, like:

[alias]
    co="checkout"
    br="branch"
    st="status"

The changes were applied, but they were not displayed on the Gitconfig page.

Describe the solution you'd like

As far as I understand, currently only user section is displayed on the Gitconfig page. As an improvement we could display full content of the gitconfig.

Describe alternatives you've considered

No response

Additional context

as a workaround: it's possible to see full content of the gitconfig using Import Git Configuration button:

image