Giter Club home page Giter Club logo

参考主题

主页 | vuepress-theme-hope (vuejs.press)

github的ssh配置

1. 设置git的user name和email

你需要运行命令来配置你的用户名和邮箱:

# 查看配置
git config --list
#git status
git config --global user.name "docker"
git config --global user.email  "[email protected]"

2.检查是否存在SSH Key

git config --global --list

3.新建sshkey

ssh-keygen -t rsa -C "这里换上你的邮箱"
  • ssh-keygen:这是用于生成SSH密钥对的命令行工具。

  • -t:指定要生成的密钥类型。在这个例子中,-t rsa 表示要生成一个RSA类型的密钥对。

  • -c:指定注释(comment)。这个选项用于为密钥添加注释,以便更好地描述密钥的用途。在这个例子中,-c "这里换上你的邮箱" 表示为密钥添加了一个注释,注释的内容是“这里换上你的邮箱”。

    查看生成的公钥

    cat ~/.ssh/id_rsa.pubgithub

4.关联github

在这里插入图片描述

# Marktext配合Github图床使用

STEP 1:建立Github仓库

【特别注意】需要将仓库设置为Public状态

STEP 2: 生成可供访问的token

STEP 3:在Marktext中设置图床

由于marktext即将不支持github,所以要专用picgo

PicGo is Here | PicGo

Index of /github-release/Molunerfinn_PicGo/v2.3.1/

记得使用yarn构建:yarn install 否则会出现报错

Mr.Xiao's Projects

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.