gitremote

package
v0.7.15 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 9, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DetectOrgAndRepo

func DetectOrgAndRepo(workDir string) (org, repo string, err error)

DetectOrgAndRepo runs git remote get-url origin in workDir and parses the result.

func ParseRemoteURL

func ParseRemoteURL(url string) (org, repo string, err error)

ParseRemoteURL extracts org and repo from a GitHub remote URL.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL