Skip to content

Commit bed4800

Browse files
committed
添加fetch介绍,免密
1 parent 3fab61d commit bed4800

File tree

1 file changed

+18
-4
lines changed

1 file changed

+18
-4
lines changed

notes/临时笔记.版本控制.git.md

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,26 @@
22
id: 2f0rv9pcy1q0bpxqxeqwvj7
33
title: Git
44
desc: ''
5-
updated: 1724601826296
5+
updated: 1724773367624
66
created: 1724601657239
77
---
88

99
### 2024-08-26 00:01:56
1010

11-
1. git fetch --prune
12-
1. 获取更新
13-
2. 删除本地已在Remote删除的分支引用
11+
~~1. git fetch --prune~~ **修改 2024-08-27 23:27:20**
12+
13+
```bash
14+
# 1. 获取更新
15+
# 2. 删除本地已在Remote删除的分支引用
16+
git fetch --prune
17+
```
18+
19+
### 2024-08-27 23:29:22
20+
21+
```bash
22+
# 指定分支fetch
23+
git fetch origin_name
24+
25+
# gitlab免密 SSH KEY
26+
ssh-keygen -t rsa # optional: -C "email"
27+
```

0 commit comments

Comments
 (0)