about summary refs log tree commit diff
path: root/Functions/Misc/run-help-git
blob: ce94d0d02947d55843658055d2ad6e9487db245c (plain) (blame)
1
2
3
4
5
6
7
8
9
if [ $# -eq 0 ]; then
    man git
else
    local al
    if al=$(git config --get "alias.$1"); then
        1=${al%% *}
    fi
    man git-$1
fi