git

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CommitChanges

func CommitChanges(path, commitMessageFormat, dotfileName, action string) error

CommitChanges commits changes to the Git repository

func Init

func Init(path, branchName string) error

Init initializes a Git repository in the given path and sets the initial branch

func PushChanges added in v0.4.4

func PushChanges(path string) error

func RepoExists added in v0.4.2

func RepoExists(path string) (bool, error)

RepoExists checks if a Git repository exists at the given path

Types

This section is empty.

Jump to

Keyboard shortcuts

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