摘要: Git Worktree 名称 git-worktree - 管理附加到同一存储库的多个工作树。 语法 git worktree add [-f] [--detach] [--checkout] [--lock [--reason <string>]] [-b <new-branch>] <path 阅读全文
posted @ 2023-02-12 20:29 菜阿 阅读(282) 评论(0) 推荐(0) 编辑
摘要: 内部原理 初始化一个Git目录 $ git init Initialized empty Git repository in D:/VSCode/testGit/.git/ ## 新初始化的 .git 目录的典型结构如下: $ ls -Fl total 7 -rw-r--r-- 1 xuyuansh 阅读全文
posted @ 2023-02-12 20:29 菜阿 阅读(36) 评论(0) 推荐(0) 编辑
摘要: Git底层命令 一、git hash-object 计算对象 ID 并可选择从文件创建 blob。(Compute object ID and optionally creates a blob from a file) 语法 git hash-object [-t <type>] [-w] [-- 阅读全文
posted @ 2023-02-12 20:29 菜阿 阅读(221) 评论(0) 推荐(0) 编辑
摘要: Git Branch 名称 git-branch - 列出、创建或删除分支(List, create, or delete branches) 语法 git branch [--color[=<when>] | --no-color] [--show-current] [-v [--abbrev=< 阅读全文
posted @ 2023-02-12 20:29 菜阿 阅读(377) 评论(0) 推荐(0) 编辑
摘要: 声明式流水线示例: 官方文档 def remote pipeline { agent any stages { stage('RemoteServer ') { steps { script { remote = [:] remote.name = 'TMS-test' remote.host = 阅读全文
posted @ 2023-02-12 20:29 菜阿 阅读(35) 评论(0) 推荐(0) 编辑
摘要: Git Checkout 名称 git-Checkout - 切换分支或恢复工作树文件 语法 git checkout [-q] [-f] [-m] [<branch>] git checkout [-q] [-f] [-m] --detach [<branch>] git checkout [-q 阅读全文
posted @ 2023-02-12 20:29 菜阿 阅读(651) 评论(0) 推荐(0) 编辑
摘要: DockerNetWork 官网 Docker 容器和服务如此强大的原因之一是您可以将它们连接在一起,或者将它们连接到非 Docker 工作负载。 Docker 容器和服务甚至不需要知道它们部署在 Docker 上,或者它们的对等点是否也是 Docker 工作负载。无论您的 Docker 主机运行 阅读全文
posted @ 2023-02-12 20:28 菜阿 阅读(272) 评论(0) 推荐(0) 编辑
摘要: Docker run命令: --add-host list Add a custom host-to-IP mapping 添加一个host 到 ip 的映射 docker run -it --add-host hostname1:192.168.1.2 --add-host hostname2:1 阅读全文
posted @ 2023-02-12 20:28 菜阿 阅读(27) 评论(0) 推荐(0) 编辑
摘要: docker volume [root@localhost128 home]# docker volume --help Usage: docker volume COMMAND Manage volumes Commands: ## 创建一个容器卷 create Create a volume # 阅读全文
posted @ 2023-02-12 20:28 菜阿 阅读(22) 评论(0) 推荐(0) 编辑
摘要: 安装Docker-Compose: 官方文档 安装 curl -L "https://github.com/docker/compose/releases/download/1.29.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bi 阅读全文
posted @ 2023-02-12 20:27 菜阿 阅读(31) 评论(0) 推荐(0) 编辑
摘要: Dockerd Configuration [root@localhost128 docker]# dockerd --help Usage: dockerd [OPTIONS] A self-sufficient runtime for containers. Options: --add-run 阅读全文
posted @ 2023-02-12 20:27 菜阿 阅读(104) 评论(0) 推荐(0) 编辑
摘要: Dockerfile FROM FROM [--platform=<platform>] <image> [AS <name>] FROM [--platform=<platform>] <image>[:<tag>] [AS <name>] FROM [--platform=<platform>] 阅读全文
posted @ 2023-02-12 20:27 菜阿 阅读(59) 评论(0) 推荐(0) 编辑
摘要: Git Init 名称 git-init- 语法(概要) git init [-q | --quiet] [--bare] [--template=<template-directory>] [--separate-git-dir <git-dir>] [--object-format=<forma 阅读全文
posted @ 2023-02-12 20:26 菜阿 阅读(182) 评论(0) 推荐(0) 编辑
摘要: Wsl2安装CentOS7 (或任何你想安装的Linux发行版) 前提条件:安装了虚拟机,且安装好了Docker 找到你想要的CentOS版本 CentOS的DockerHub地址 下载docker镜像(我这里是因为已经下载好了,所以显示的结果是这样) [root@localhost128 ~]# 阅读全文
posted @ 2023-02-12 20:26 菜阿 阅读(294) 评论(0) 推荐(0) 编辑
摘要: 软件安装: | 目录 | 作用 | | | | | /usr | 系统级目录。可理解为C:/Windows/,/usr/lib: 可理解为 C:/Windows/System32。 | | /usr/local | 用户级的程序目录。可理解为 C:/Progrem Files/。用户自己编译的软件默 阅读全文
posted @ 2023-02-12 20:26 菜阿 阅读(18) 评论(0) 推荐(0) 编辑
摘要: Git Rebase 名称 git-rebase - 在另一个基本提示之上重新应用提交(Reapply commits on top of another base tip) 语法(概要) git rebase [-i | --interactive] [<options>] [--exec <cm 阅读全文
posted @ 2023-02-12 20:26 菜阿 阅读(291) 评论(0) 推荐(0) 编辑
摘要: Git Merge 名称 git-merge - 将两个或多个开发历史合并到一起 语法 git merge [-n] [--stat] [--no-commit] [--squash] [--[no-]edit] [--no-verify] [-s <strategy>] [-X <strategy 阅读全文
posted @ 2023-02-12 20:26 菜阿 阅读(1597) 评论(0) 推荐(0) 编辑
摘要: Jdk实现本地文件监听 监听实现: ConfigDirWatchContext package com.jinko.apollo; import com.google.common.util.concurrent.ThreadFactoryBuilder; import de.schlichther 阅读全文
posted @ 2023-02-12 20:26 菜阿 阅读(13) 评论(0) 推荐(0) 编辑
摘要: 泛化(generalization):表示is-a的关系,是对象之间耦合度最大的一种关系,子类继承父类的所有细节。直接使用语言中的继承表达。在类图中使用带三角箭头的实线表示,箭头从子类指向父类。注意:里氏代换原则可以更深入理解泛化 依赖(Dependency):对象之间最弱的一种关联方式,是临时性的 阅读全文
posted @ 2023-02-12 20:26 菜阿 阅读(6) 评论(0) 推荐(0) 编辑
摘要: <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/P 阅读全文
posted @ 2023-02-12 20:26 菜阿 阅读(13) 评论(0) 推荐(0) 编辑