You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
function git_is_repo -d "Test if the current directory is a Git repository"
|
|
if not command git rev-parse --git-dir > /dev/null 2>/dev/null
|
|
return 1
|
|
end
|
|
end
|