-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b2904da
commit 8381f01
Showing
4 changed files
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
- [[删除本地仓库中远端已不存在的本地 Git 分支]] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
- [[OpenAPI Spec 最小文档结构示例]] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
tags:: [[tagOpenAPI]] | ||
|
||
- ```yaml | ||
openapi: "3.0.3" # OAS 版本 | ||
info: # 信息对象 | ||
title: OpenAPI 基础结构 # 标题 | ||
version: "1.0.0" # 此文档接口版本 | ||
servers: # 服务 | ||
- url: http://localhost:8080/api/v1 # 服务地址 | ||
paths: # API 路径,endpoint | ||
/ping: # 接口 URL | ||
get: # get 请求 | ||
responses: # 响应 | ||
'200': # 状态码 | ||
description: OK # 响应描述 | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
tags:: [[tagGit]] | ||
|
||
- 查看本地仓库有哪些远端已不存在,但本地存在的分支 | ||
- `git remote prune --dry-run origin` | ||
- 删除本地仓库有哪些远端已不存在,但本地存在的分支 | ||
- `git remote prune origin` | ||
- 查看是否删除本地仓库有哪些远端已不存在,但本地存在的分支 | ||
- `git fetch --prune origin` |