21 votes

How core Git developers configure Git

2 comments

  1. Macha
    Link
    A lot of these are unlikely to ever become a default for fear of breaking tools that rely on parsing git's CLI output, which makes me wonder if the Git CLI needs something like Rust's "editions"...

    A lot of these are unlikely to ever become a default for fear of breaking tools that rely on parsing git's CLI output, which makes me wonder if the Git CLI needs something like Rust's "editions" to improve it's ergonomics. Set core.edition=2025 or run git --edition 2025 and get all these as defaults rather than have to configure them individually.

    9 votes
  2. ebonGavia
    Link
    Some of these will definitely be very helpful, thanks OP. That error you get when pushing a branch that doesn't have an existing upstream has been driving me nuts for years.

    Some of these will definitely be very helpful, thanks OP. That error you get when pushing a branch that doesn't have an existing upstream has been driving me nuts for years.

    1 vote