Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Sep 1, 2010
  1. @svick @gitster

    Add global and system-wide gitattributes

    svick authored gitster committed
    Allow gitattributes to be set globally and system wide. This way, settings
    for particular file types can be set in one place and apply for all user's
    The location of system-wide attributes file is $(prefix)/etc/gitattributes.
    The location of the global file can be configured by setting
    Some parts of the code were copied from the implementation of the same
    functionality in config.c.
    Signed-off-by: Petr Onderka <>
    Signed-off-by: Matthieu Moy <>
    Signed-off-by: Junio C Hamano <>
Something went wrong with that request. Please try again.