gogit

package module
v1.1.4 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2023 License: MIT Imports: 10 Imported by: 0

README

Gogit

Github top language Github language count Repository size License


🎯 About

gogit makes copies of git repositories.This is much quicker than using git clone, because you're not downloading the entire git history.

🚀 Technologies

The following tools were used in this project:

🏁 Starting

# Install gogit
$ go install github.com/ugurkorkmaz/gogit/cmd/gogit

Default git server GitHub is used. In addition, you can use Gitlab and Bitbucket. You can download release versions and versioned versions

# Start gogit
gogit user/repo my-project
gogit github:user/repo my-project
gogit github:user/repo#v1.0.0 my-project
gogit github:user/repo#master my-project

gogit gitlab:user/repo my-project
gogit gitlab:user/repo#v1.0.0 my-project
gogit gitlab:user/repo#master my-project

gogit bitbucket:user/repo my-project
gogit bitbucket:user/repo#v1.0.0 my-project
gogit bitbucket:user/repo#master my-project

📝 License

This project is under license from MIT. For more details, see the LICENSE file.

Made with ❤ by Extends Work

 

See also

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidServer     = errors.New("invalid git server")
	ErrInvalidUrl        = errors.New("invalid url")
	ErrUserNotFoundInUrl = errors.New("user not found in url")
	ErrRepoNotFoundInUrl = errors.New("repo not found in url")
)

Functions

func New

func New() *git

func Untar

func Untar(r io.Reader) error

Types

This section is empty.

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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