You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
oh-my-fish/pkg/omf/functions/repo/omf.repo.clone.fish

8 lines
176 B
Fish

function omf.repo.clone -a url branch path
if test -z "$branch"
command git clone --quiet $url $path
else
command git clone --quiet $url -b $branch $path
end
end