git

package
v0.0.0-...-77b8270 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckIfPush

func CheckIfPush(path string) bool

CheckIfPush checks if the repo needs push

func CheckIfRepo

func CheckIfRepo(path string) bool

CheckIfRepo checks if the path is git repo

func Pull

func Pull(path string)

Pull - executes `git pull` in repo

func Push

func Push(repo models.Repo)

Push - executes git add -A git commit -m `date` git push in repo

Types

This section is empty.

Jump to

Keyboard shortcuts

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