ProgrammingNotes
  • README
  • accounting会计学
  • Apache
  • ar
  • asciidoc
  • AssemblyLanguage汇编语言
  • authorization授权
    • 1.jwt
    • 2.oauth
  • C语言
    • C++
  • cache
  • Computer计算机相关
    • 1.reinstallSystem重装系统
    • 2.vhd
    • 3.bulidWeb建站
    • 4.computerOrganization计算机原理
  • config配置文件相关
  • ContainerTechnology
    • 1.docker
    • 2.kubernetes
  • cs计算机科学
    • 1.api
      • 1.1.restful
      • 1.2.graphQL
      • 1.3.openAPI
      • 1.4.swagger
    • 10.blockchain区块链
      • 10.1.bitCoin比特币
    • 11.characterEncoding字符编码
    • 12.map
      • 12.1.百度地图
      • 12.2.qgis
      • 12.3.openLayers3
      • 12.4.postGIS
    • 13.ai人工智能
    • 14.machineLearning机器学习
    • 15.ioT物联网
    • 16.microservices微服务
    • 17.serverless无服务架构
    • 2.uml
    • 3.designPattern
    • 33.compilation_tool编译工具
      • 33.1.gradle
      • 33.2.maven
    • 4.devOps
      • 4.1.ci
        • 4.1.1.jenkins
        • 4.1.2.github_actions
        • 4.1.3.team_city
      • 4.2.argoCD
    • 6.dataVisualization数据可视化
    • 7.abandonTechnology可放弃的技术
    • 8.bigData大数据
      • 8.1.streamComputing流计算
      • 8.2.edgeComputing边缘计算
    • 9.deepLearning
  • C#
  • db数据库
    • 1.sql
    • 2.noSQL
      • 2.1.redis
      • 2.2.mongoDB
      • 2.3.hbase
      • 2.4.etcd
    • 3.fileSystem文件系统
      • 3.1.fastDFS
      • 3.2.hdfs
    • 4.postgreSQL
    • 5.sqlserver
    • 6.MySQL
    • 7.oracle
    • 8.oceanBase
    • 9.influxDB
    • DatabaseSecurity数据库安全
    • pl/sql
  • Delphi
  • dorado
  • education
  • english
  • frontEnd前端
    • 1.html
      • 1.1.h5
      • 1.2.webSocket
      • 1.3.html2pdf
    • 10.1.wonder
    • 10.webGL
    • 2.w3C规范
      • 2.1.webAPIs
    • 3.css
    • 4.dom
    • 5.xhtml
    • 6.webAssembly
    • 7.ajax
    • 8.fetch
    • 9.picture
  • git
    • 1.gitbook
    • 2.svn
    • 3.github
    • 4.travis_ci
  • golang
    • go_cloud
    • go_crawler
    • goroutine
    • hydra
  • hardware
  • ios
  • java
    • 1.jvm
    • 2.java高级特性之多线程
    • 3.javafx
    • 4.java网络编程
    • 5.java类加载和反射
    • 6.jms
    • 7.java_cloud
    • 8.jsp
    • 9.spring
  • js
    • 1.npm
    • 13.mockJS
    • 19.bootstrap
    • 2.nodeJS
    • 25.echarts
    • 3.angular
      • 3.1.angularCLI
      • 3.2.angularMaterial
    • 4.react
      • 4.3.reactNative
      • 4.4.next
    • 5.vue
      • 5.1.vue-CLI
      • 5.2.vuex
      • 5.3.axios
      • 5.4.vue-router
      • 5.5.element-ui
      • 5.6.vueCore
      • 5.7.nuxt
    • 6.compilation_tool编译工具
      • 6.1.webpack
      • 6.2.parcel
      • 6.3.grunt
    • 7.lib第三方库
      • 7.1.jQuery
      • 7.2.lodash
    • TypeScript
      • 8.1.tslint
    • Deno
    • JS设计模式
    • ECMAScript
    • JS
    • JS6
    • NativeScript
    • RXJS
    • V8
  • linux
    • 1.vim
    • 2.shell
    • 3.shellScript
    • 4.ubuntu
    • 5.makefile
    • 6.centOS
  • markdown
  • markup_lang
    • JSON
    • YAML
  • math
    • 1.algorithm算法
    • 2.cryptology密码学
    • 3.computerGraphics计算机图形学
    • 4.dataStructure数据结构
  • MC消息通信
    • MQ消息队列
      • 1.kafka
      • 2.rabbitMQ
      • 3.redis
      • 4.activeMQ
      • 5.rocketMQ
      • 6.nats
    • MQTT
      • EMQ
    • RPC
      • gRPC
  • mobile
    • android
      • 1.kotlin
      • 2.weixin
      • 3.miniProgram
    • cordova
    • dart
    • flutter
    • ios
      • xcode
    • ReactNative
  • network网络
    • 2.ss
    • 3.http
    • 4.kcp
    • 5.nmap
    • 5G
    • 6.webCrawler
  • news重要新闻
  • Philosophy哲学
    • AnCoderPrepares程序员的自我修养
    • 软件工程的语录
  • php
  • popularizationOfScience科普
  • protocol
    • 1.rpc
  • python
  • readingNotes读书笔记
    • 1.profession专业笔记
    • 2.sql_Antipatterns
    • 3.unix_Network_Programming
    • 4.the_Docker_Book
  • rust
  • scriptingLanguage
    • 2.lua
    • 3.regularExpression正则表达式
    • 4.julia
    • 5.ruby
  • security安全
  • server服务器相关
    • nginx
    • OpenResty
  • software&tool软件和工具
    • 1.vscode
    • 11.plsqldev
    • 17.androidStudio
    • 3.虚拟机VirtualMachine
    • 4.jetBrains
    • 5.eclipse
    • 7.visualStudio
    • 8.office系列
  • softwaretest软件测试
    • JUnit
  • ssh&ssm
    • 2.hibernate
    • 1.spring
  • unix
    • hackintosh
    • mac
  • vr
  • windows
    • terminal&DOS
    • windows10
    • Wine
  • word一些术语
  • zztemp草稿
    • temp
    • temp4study
    • temp4studyLater以后再学的
Powered by GitBook
On this page
  • 3.github
  • 一 概述
  • 3 常识
  • 4 文档等
  • 三 基础
  • 1 多人合作
  • 2 github actions
  • 五 经验
  • 1 git star项目的功管理工具
  • 六 问题
  • 1 fatal: 无法访问 'https://github.com/xushike/studyGo/':LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443
  • 2 github A security advisory on shelljs affects at least one of your repositories
  • 七 待整理

Was this helpful?

  1. git

3.github

3.github

一 概述

3 常识

3.1 clone的时候加不加.git suffix

不加也能识别出来

3.2 Pinned repositories

"Pinned repositories"可以理解为 "自定义需要固定的仓库" ,就是将你想展示在profile首页的repo展示出来,不像默认情况那样通过热度来排行repo,以至于有些你认为重要的repo再profile首页显示不出来。

3.3 Personal access tokens

好像只有生成的时候会显示明文,刷新之后就隐藏了,想再获取的话只有点进去,然后regenerate token重新生成一次,只需要在用到它的地方更新一下这个token,内容还是不变的?

3.4 gist id

查看自己的gist id:访问https://gist.github.com/xushike,查看我所有的gists,点击想要的那个,查看script,比如是<script src="https://gist.github.com/xushike/da65f0048f190151ca0cfd2a67ae2236.js"></script>,其中域名后面的那串数字就是gist id。

4 文档等

  1. 官方

    1. 趋势:https://github.com/trending/

    2. 文档:https://docs.github.com/

      1. 创建个人访问令牌(personal access tokens,PATs):https://docs.github.com/en/github/authenticating-to-github/keeping-your-account-and-data-secure/creating-a-personal-access-token

三 基础

1 多人合作

1.1 项目操作

  • star:作用是收藏,不会看到项目的实时更新

  • watch:作用是关注,更新时会收到通知

  • fork:将项目复制一份到自己账户,会显示"forked from ...",然后可以对自己的项目进行各种修改.最佳实践是新建一个分支(通常称为特性分支)再修改.

    注意git是没有fork这个命令的,

1.2 文件操作

  • raw:在浏览器中以 text/plain 查看原始文件

1.3 Issue

Issues(问题)"并不代表实际存在错误,它可以是需要对项目进行的任何改变。GitHub 的问题跟踪器相当高级。每个问题都可以:

  • 应用一个或多个标签

  • 被分配给个人

  • 确定一个里程碑(例如问题将由下一个主要版本解决) 但问题跟踪器最重要的一个方面在于,每个问题都可以有自己的评论区,使开发者围绕这个问题展开对话。

Issue 的另一个很棒的功能在于:

  • 你可以订阅某个 Issue ,这样你便会获得新评论和代码更改的通知

  • 你可以就具体变更与项目维护者持续交流

如果你查看了 Issues 列表,没有看到与你要做的事情类似的内容,那么你可以创建自己的新 Issue

1.4 展示 Demo

GitHub 仓库开通 GitHub Pages 后,其中的 HTML 文件就可以被浏览器正确渲染了,因此这个功能不仅可以作为项目的展示页,也可以展示各种 HTML demo 文件。

1.5 添加 LICENSE

创建项目时,有添加 LICENSE 选项; 创建项目后,添加新文件,输入文件名 LICENSE 时右侧会出现 LICENSE 模板选项。

2 github actions

五 经验

1 git star项目的功管理工具

  1. https://app.astralapp.com

  2. OhMyStar2

  3. Star Order

六 问题

1 fatal: 无法访问 'https://github.com/xushike/studyGo/':LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443

网络问题,重试一下?

2 github A security advisory on shelljs affects at least one of your repositories

参考:https://docs.github.com/en/code-security/supply-chain-security/managing-vulnerabilities-in-your-projects-dependencies/about-alerts-for-vulnerable-dependencies

七 待整理

  1. 如何用github.io打造个人博客

Previous2.svnNext4.travis_ci

Last updated 3 years ago

Was this helpful?