diff --git a/knowledge base/git.md b/knowledge base/git.md index c39b054..7b85d96 100644 --- a/knowledge base/git.md +++ b/knowledge base/git.md @@ -68,7 +68,7 @@ git config --list --show-origin # render the current configuration git config --list \ | awk -F '=' '{print $1}' | uniq \ - | xargs -n 1 -I {} sh -c 'printf "{}=" && git config --get {}' + | xargs -I {} sh -c 'printf "{}=" && git config --get {}' # get the top-level directory of the current repository git rev-parse --show-toplevel