mirror of
https://github.com/tj/git-extras.git
synced 2026-09-10 23:46:24 -04:00
Merge pull request #948 from tfendin/git-ignore-core-excludesFile
This commit is contained in:
commit
82b33ac4c7
|
|
@ -12,7 +12,7 @@ function show_contents {
|
|||
}
|
||||
|
||||
function global_ignore() {
|
||||
git config --global core.excludesile || \
|
||||
git config --global core.excludesFile || \
|
||||
([ -n "$XDG_CONFIG_HOME" ] && echo "$XDG_CONFIG_HOME/git/ignore") || \
|
||||
echo "$HOME/.config/git/ignore"
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue