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.
4 lines
155 B
4 lines
155 B
3 years ago
|
function git_repository_root -d "Get the top level directory of the current git repository"
|
||
|
git_is_repo; and command git rev-parse --show-toplevel
|
||
|
end
|