gittools

package
v0.0.0-...-532fb6e Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2024 License: MIT Imports: 6 Imported by: 0

README

go-git

ssh-rsa 生成

  1. ssh-keygen -t rsa -C "mocheer@foxmail.com"
  2. 添加ssh公钥到github、gitlab、gogs、gitea任一平台
  3. 添加ssh私钥进行本地认证

ssh-Ed25519

  1. ssh-keygen -t ed25519 -f istrongcloud -C "mocheer@foxmail.com"
  2. 添加ssh公钥到github、gitlab、gogs、gitea任一平台
  3. 添加ssh私钥进行本地认证

需要确保known_hosts有添加github、gitlab、gogs、gitea等平台的地址,没有的话,如果是命令行执行的git命令可以根据提示进行添加

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Pull

func Pull() error

Pull 抓取资源

Types

This section is empty.

Jump to

Keyboard shortcuts

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