Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EnsureGitignoreEntries ¶
EnsureGitignoreEntries ensures that the given patterns exist in .gitignore.
func GetRemoteURL ¶
GetRemoteURL returns the URL of the 'origin' remote for the git repo at dir.
func InstallPrePushHook ¶
InstallPrePushHook installs a git pre-push hook in the repo at dir.
func ParseRemote ¶
ParseRemote extracts the namespace (owner/org) and repo name from a git remote URL.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.