fetch_repo

command
v0.24.3 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Command fetch_repo is similar to "go get -d" but it works even if the given repository path is not a buildable Go package and it checks out a specific revision rather than the latest revision.

The difference between fetch_repo and "git clone" or {new_,}git_repository is that fetch_repo recognizes import redirection of Go and it supports other version control systems than git.

These differences help us to manage external Go repositories in the manner of Bazel.

Jump to

Keyboard shortcuts

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