sync

package
v0.0.0-...-e5de224 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2019 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// IntegrityCommit is the standard message for integrity hash commits
	IntegrityCommit = "Updated integrity hash"
)

Functions

func Clone

func Clone(repo string)

Clone will copy a remote repository to your .passgo directory.

func Commit

func Commit(msg string)

func Initialize

func Initialize()

Initialize a new git repository in the user's home .passgo directory.

func InsertCommit

func InsertCommit(name string)

InsertCommit is used to create a new commit with an insert message.

func Pull

func Pull()

Pull will get changes from the remote repository.

func Push

func Push()

Push will push your changes to the remote repository.

func RegenerateCommit

func RegenerateCommit(name string)

RegenerateCommit is used to create a new commit with a regenerate message.

func Remote

func Remote(remoteUrl string)

Remote will change where the repository is stored.

func RemoveCommit

func RemoveCommit(name string)

RemoveCommit is used to create a new commit with a remove commit message.

func RenameCommit

func RenameCommit(from, to string)

RenameCommit is used to create a new commit with a rename commit message.

Types

This section is empty.

Jump to

Keyboard shortcuts

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