-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from 88kjy66yyrhh/master
Inrich homework
- Loading branch information
Showing
8 changed files
with
61 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,17 @@ | ||
# **vim编辑器和bash脚本的学习** | ||
|
||
1. 开始逐渐理解了linux是一巨大的文件系统。 | ||
2. 逐渐熟悉了linux中一些经常用到的命令。 | ||
|
||
|
||
# **命令行环境和数据整理** | ||
|
||
1. 学会了如何通过一些命令来抓取筛选日志里面的有效信息。 | ||
2. 尝试在flatpak中安装应用,并把安装位置修改到了用户目录下 | ||
|
||
|
||
# **Git和CLION** | ||
|
||
1. 第一次尝试从源码安装一个软件,并将安装路径修改到用户目录下。 | ||
2. 理解本地git仓库与github中仓库的关系。 | ||
3. 理解了git中的分支的作用与基本使用方法。 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,44 @@ | ||
# **图片** | ||
|
||
- 第一张 | ||
![第一张](./image1.jpg) | ||
|
||
|
||
|
||
- 第二张 | ||
![第二张](./image2.png) | ||
|
||
|
||
|
||
- 第三张 | ||
![第三张](./image3.png) | ||
|
||
|
||
|
||
# **第一题** | ||
|
||
|
||
1. git reset --hard HEAD | ||
2. git reset HEAD | ||
git checkout -- . | ||
|
||
# **第二题** | ||
|
||
|
||
## *不修改历史* | ||
1. git revert HEAD | ||
2. git checkout -b new-branch <last-version> | ||
## *修改历史* | ||
1. git reset --soft HEAD~1 | ||
2. git reset --hard HEAD~1 | ||
|
||
# **第三题** | ||
|
||
|
||
1. git checkout <other-branch> | ||
git rebase main | ||
git checkout main | ||
git merge <other-branch> | ||
2. git checkout main | ||
git cherry-pick <want-version> | ||
|