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
|
git reset --hard HEAD~1
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### 教学复习
|
||||||
|
|
||||||
|
```
|
||||||
|
0. 如何配置Git?
|
||||||
|
|
||||||
|
1. 为什么Git协作的时候往往是fork别人的仓库?能不能直接在原仓库里面修改?
|
||||||
|
|
||||||
|
2. fork完如何修改并提交更改?
|
||||||
|
|
||||||
|
3. git clone 的 http 链接和 git 链接有什么不同?
|
||||||
|
|
||||||
|
4. 如何将修改合并到原仓库?
|
||||||
|
|
||||||
|
5. 如何合并发PR?
|
||||||
|
|
||||||
|
6. 如何查看状态和日志
|
||||||
|
```
|
||||||
|
|
||||||
---
|
---
|
||||||
**Done.**
|
**Done.**
|
||||||
|
|||||||
@@ -76,7 +76,7 @@ Linux有许多不同的发行版,但大致可以分为几个系:
|
|||||||
|
|
||||||
因此对于Linux而言,文件系统是这样的:
|
因此对于Linux而言,文件系统是这样的:
|
||||||
|
|
||||||
```shell
|
```bash
|
||||||
/ — 根
|
/ — 根
|
||||||
/home — 用户家目录
|
/home — 用户家目录
|
||||||
/root — 超级用户的家
|
/root — 超级用户的家
|
||||||
@@ -114,7 +114,7 @@ Linux有许多不同的发行版,但大致可以分为几个系:
|
|||||||
|
|
||||||
在Ubuntu的界面中李华看到了一个名为``终端``的应用,输入``apt install neofetch``,就安装成功...不,暂时还没有成功,再次输入``sudo apt install neofetch``,就成功安装了neofetch这个软件,随后我们输入``neofetch``,可以看到系统的一些信息:
|
在Ubuntu的界面中李华看到了一个名为``终端``的应用,输入``apt install neofetch``,就安装成功...不,暂时还没有成功,再次输入``sudo apt install neofetch``,就成功安装了neofetch这个软件,随后我们输入``neofetch``,可以看到系统的一些信息:
|
||||||
|
|
||||||
```shell
|
```bash
|
||||||
❯ neofetch
|
❯ neofetch
|
||||||
.-/+oossssoo+/-. dich@uos
|
.-/+oossssoo+/-. dich@uos
|
||||||
`:+ssssssssssssssssss+:` --------
|
`:+ssssssssssssssssss+:` --------
|
||||||
|
|||||||
@@ -130,7 +130,7 @@ bluetoothctl info AA:BB:CC:DD:EE:FF
|
|||||||
|
|
||||||
交互式步骤(在 `bluetoothctl` 提示符下):
|
交互式步骤(在 `bluetoothctl` 提示符下):
|
||||||
|
|
||||||
```text
|
```bash
|
||||||
$ bluetoothctl
|
$ bluetoothctl
|
||||||
[bluetooth]# power on
|
[bluetooth]# power on
|
||||||
[bluetooth]# agent on
|
[bluetooth]# agent on
|
||||||
|
|||||||
Reference in New Issue
Block a user