sync

package
v1.4.5 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package sync provides simplified git versioning to version and store notes.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HasRemote

func HasRemote(repoPath string) (bool, error)

HasRemote determines if the repository has any configured remotes.

func IsRepo

func IsRepo(path string) bool

IsRepo checks if the specified path is a valid git repository.

func Sync

func Sync(repoPath string) error

Sync adds all changes, commits them, and synchronizes the local repository with the remote (origin) via fetch, rebase, and push.

Types

This section is empty.

Jump to

Keyboard shortcuts

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