diff --git a/bash/bashrc/sources/31_git-utils b/bash/bashrc/sources/31_git-utils index a8779ac..0a7719d 100644 --- a/bash/bashrc/sources/31_git-utils +++ b/bash/bashrc/sources/31_git-utils @@ -15,7 +15,7 @@ function git-config-as { } -if [ -f "$HOME/.gitconfig" ]; then +if [ ! -f "$HOME/.gitconfig" ]; then cat << ___CONF___ > "$HOME/.gitconfig" [alias] la = log --graph --full-history --date-order --all --pretty=format:'%Cred%h%Creset %ad %C(bold blue)[%an]%Creset | %C(white)%s%Creset %C(yellow)%d%Creset' --date=relative