Module utils

Source

Functionsยง

find_repo_root
Find the repository root from a given path
get_current_repo
Get the current repository path, starting from current directory
get_main_repo_for_worktree
Get the main repository path for a worktree
get_remote_url
Get the remote URL for a git repository
init_repo
Initialize a new git repository
is_git_repo
Check if a path is a git repository
is_worktree
Check if a directory is a git worktree