mirror of
https://github.com/Dichgrem/Blog.git
synced 2026-02-05 01:21:57 -05:00
style:highlight
This commit is contained in:
@@ -315,5 +315,23 @@ git reset --soft HEAD~1
|
||||
git reset --hard HEAD~1
|
||||
```
|
||||
|
||||
### 教学复习
|
||||
|
||||
```
|
||||
0. 如何配置Git?
|
||||
|
||||
1. 为什么Git协作的时候往往是fork别人的仓库?能不能直接在原仓库里面修改?
|
||||
|
||||
2. fork完如何修改并提交更改?
|
||||
|
||||
3. git clone 的 http 链接和 git 链接有什么不同?
|
||||
|
||||
4. 如何将修改合并到原仓库?
|
||||
|
||||
5. 如何合并发PR?
|
||||
|
||||
6. 如何查看状态和日志
|
||||
```
|
||||
|
||||
---
|
||||
**Done.**
|
||||
|
||||
@@ -76,7 +76,7 @@ Linux有许多不同的发行版,但大致可以分为几个系:
|
||||
|
||||
因此对于Linux而言,文件系统是这样的:
|
||||
|
||||
```shell
|
||||
```bash
|
||||
/ — 根
|
||||
/home — 用户家目录
|
||||
/root — 超级用户的家
|
||||
@@ -114,7 +114,7 @@ Linux有许多不同的发行版,但大致可以分为几个系:
|
||||
|
||||
在Ubuntu的界面中李华看到了一个名为``终端``的应用,输入``apt install neofetch``,就安装成功...不,暂时还没有成功,再次输入``sudo apt install neofetch``,就成功安装了neofetch这个软件,随后我们输入``neofetch``,可以看到系统的一些信息:
|
||||
|
||||
```shell
|
||||
```bash
|
||||
❯ neofetch
|
||||
.-/+oossssoo+/-. dich@uos
|
||||
`:+ssssssssssssssssss+:` --------
|
||||
@@ -376,4 +376,4 @@ Linux 的内核天然支持 **Cgroups** 和 **Namespaces**,这是 **Docker**
|
||||
* **KVM/QEMU:** 内置的高性能虚拟化技术,相比 Windows 的 Hyper-V 或 VMware,性能更好更通用。
|
||||
|
||||
---
|
||||
**Done.**
|
||||
**Done.**
|
||||
|
||||
@@ -130,7 +130,7 @@ bluetoothctl info AA:BB:CC:DD:EE:FF
|
||||
|
||||
交互式步骤(在 `bluetoothctl` 提示符下):
|
||||
|
||||
```text
|
||||
```bash
|
||||
$ bluetoothctl
|
||||
[bluetooth]# power on
|
||||
[bluetooth]# agent on
|
||||
@@ -357,4 +357,4 @@ pamixer --toggle-mute
|
||||
```
|
||||
|
||||
---
|
||||
**Done.**
|
||||
**Done.**
|
||||
|
||||
Reference in New Issue
Block a user