-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
XDG base directory specification compatibility for Git #267
Milestone
Comments
arcticicestudio
added a commit
that referenced
this issue
May 5, 2020
Before the Gir snowblock symlinked to the default dotfiles within the home directory, but Git also fully supports the XDG base directory specification [1]. So in order to get a step further regarding a "clean home directory root" the files have been moved to the dedicated XDG directory. - Global (`--global`) configuration file [2] `~/.gitconfig` -> `${XDG_CONFIG_HOME:-$HOME/.config}/git/config` - Global exclude file [3] `~/.gitignore` -> `${XDG_CONFIG_HOME:-$HOME/.config}/git/ignore` - Global attributes file [4] `~/.gitattributes` -> `${XDG_CONFIG_HOME:-$HOME/.config}/git/attributes` Also the templates and files used in conditional `include` blocks have also been renamed and moved into a new and cleaner directory structure. [1]: https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html [2]: https://git-scm.com/docs/git-config#Documentation/git-config.txt---global [4]: https://git-scm.com/docs/git-config#Documentation/git-config.txt-coreattributesFile [3]: https://git-scm.com/docs/git-config#Documentation/git-config.txt-coreexcludesFile GH-267 Co-authored-by: Sven Greb <development@svengreb.de>
arcticicestudio
added a commit
that referenced
this issue
May 5, 2020
Before the Git snowblock symlinked to the default dotfiles within the home directory, but Git also fully supports the XDG base directory specification [1]. So in order to get a step further regarding a "clean home directory root" the files have been moved to the dedicated XDG directory. - Global (`--global`) configuration file [2] `~/.gitconfig` -> `${XDG_CONFIG_HOME:-$HOME/.config}/git/config` - Global exclude file [3] `~/.gitignore` -> `${XDG_CONFIG_HOME:-$HOME/.config}/git/ignore` - Global attributes file [4] `~/.gitattributes` -> `${XDG_CONFIG_HOME:-$HOME/.config}/git/attributes` Also the templates and files used in conditional `include` blocks have also been renamed and moved into a new and cleaner directory structure. [1]: https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html [2]: https://git-scm.com/docs/git-config#Documentation/git-config.txt---global [4]: https://git-scm.com/docs/git-config#Documentation/git-config.txt-coreattributesFile [3]: https://git-scm.com/docs/git-config#Documentation/git-config.txt-coreexcludesFile Closes GH-267 Co-authored-by: Sven Greb <development@svengreb.de>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently the Git snowblock symlinks to the default dotfiles within the home directory, but Git also fully supports the XDG base directory specification. So in order to get a step further regarding a "clean home directory root" the files will be moved to the dedicated XDG directory.
--global
) configuration file —~/.gitconfig
→${XDG_CONFIG_HOME:-$HOME/.config}/git/config
~/.gitignore
→${XDG_CONFIG_HOME:-$HOME/.config}/git/ignore
~/.gitattributes
→${XDG_CONFIG_HOME:-$HOME/.config}/git/attributes
Also the current templates and files used in conditional
include
blocks will be renamed and moved into a new and cleaner directory structure.The text was updated successfully, but these errors were encountered: