Giter Club home page Giter Club logo

Comments (4)

voku avatar voku commented on September 1, 2024

I use the "~/.extra"-file so that I can overwrite some personal settings e.g. user.email

PS: here is the example -> https://github.com/voku/dotfiles

from dotfiles.

DrVanScott avatar DrVanScott commented on September 1, 2024

user.email was only an example. There are lot's of things which are normally configured by a simple

git config --global ...

In my opinion, chances are high that in daily work these things end up in .gitconfig and not in .extra, also because the config file is not modified directly...

Maybe let's wait for other opinions. I am going to test my idea in my fork. I am not sure if it's really a better solution...

from dotfiles.

DrVanScott avatar DrVanScott commented on September 1, 2024

Not happy with any of the alternatives. So i go for a third one, which i implemented in 5088ad1a161494200dc31a5c8053540e0a276166 and f0b8c565222c3d1d5bfc13ab1a8749dfb0fb1ef4

It just prints differences in the .gitconfig file in a way that it's easy to add it again. It's up to the user to do it or not.

from dotfiles.

voku avatar voku commented on September 1, 2024

I understand your point, but in daily work I only touched the global git config once. I added some settings and ready to go ... for me I don't need to re-configure something in the last months! :)

from dotfiles.

Related Issues (16)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.