Nuclos Git: gitconfig, autocrlf, CRLF, safecrlf, push.default, core.longpaths, nuclet export, line endings.

globe with meridians Language: Deutsch · English

open book Git

Git base configuration for Nuclos – .gitconfig, autocrlf/CRLF pitfall and long file names on Windows.

On this page

Recommended base configuration for working with the Nuclos repositories. Create a .gitconfig file in your home directory and adapt it to your preferences (especially push.default). A full overview is provided by man git-config.

[user]
    name = Vorname Nachname
    email = you@example.com
[core]
    editor = kate
    safecrlf = true
    autocrlf = input   ## Unix/Mac
    # autocrlf = true  ## Windows
    # longpaths = true ## Windows, bei "Filename too long"
[push]
    default = simple
[merge]
    tool = kdiff3
[color]
    ui = auto

Windows users: autocrlf = true causes exported nuclet files containing source code (data sources, rules) to get Windows line endings (CRLF). This can cause problems when importing on non-Windows systems – consider autocrlf = input.

For „Filename too long“ on Windows:

git config --system core.longpaths true

Related pages

gear Git conflict management


Merge/conflicts.

Öffnen →