Movatterモバイル変換


[0]ホーム

URL:


Notice  The highest tagged major version isv5.

examples

package
v4.7.0+incompatibleLatest Latest
Warning

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

Go to latest
Published: Sep 6, 2018 License:Apache-2.0Imports:3Imported by:4

Details

Repository

github.com/go-git/go-git

Links

README

go-git: examples

Here you can find a list of annotatedgo-git examples:

Basic
  • showcase - A small showcase of the capabilities ofgo-git
  • open - Opening a existing repository cloned bygit
  • clone - Cloning a repository
  • commit - Commit changes to the current branch to an existent repository
  • push - Push repository to default remote (origin)
  • pull - Pull changes from a remote repository
  • checkout - Check out a specific commit from a repository
  • log - Emulategit log command output iterating all the commit history from HEAD reference
  • branch - How to create and remove branches or any other kind of reference.
  • tag - List/print repository tags
  • remotes - Working with remotes: adding, removing, etc
  • progress - Printing the progress information from the sideband
  • revision - Solve a revision into a commit
Advanced

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

funcCheckArgs

func CheckArgs(arg ...string)

CheckArgs should be used to ensure the right command line arguments arepassed before executing an example.

funcCheckIfError

func CheckIfError(errerror)

CheckIfError should be used to naively panics if an error is not nil.

funcInfo

func Info(formatstring, args ...interface{})

Info should be used to describe the example commands that are about to run.

funcWarning

func Warning(formatstring, args ...interface{})

Warning should be used to display a warning

Types

This section is empty.

Source Files

View all Source files

Directories

PathSynopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f orF : Jump to
y orY : Canonical URL
go.dev uses cookies from Google to deliver and enhance the quality of its services and to analyze traffic.Learn more.

[8]ページ先頭

©2009-2025 Movatter.jp