Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

llj #97

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

llj #97

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 39 additions & 0 deletions 2022-finalproject/llj/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# 学习的技术

- linux系统的基本运用

- vim编辑器的使用

- 脚本的编写和运行

- 版本控制

- 对密码学大概的了解

- cmake与catkin

- 正则表达式



## 在学习中的收获

​ 在学习中感觉收获了很多东西,不只是技术的学得,也伴随着学习态度的进步。我以前遇到问题可能会比较倾向于在思考前区询问他人,在这段时间的学习中发现其实通过自己的能力很多事都可以解决,所以我现在在询问他人之前会努力让自己先去搜寻解决的办法,毕竟现在互联网一上什么都有嘛。

​ 我也发现我存在一些缺点,比如存在拖拉的现象,在遇到困难时太久解决不了会感到焦虑烦躁,不利于我继续解决问题。



### 对未来的展望

- 我要加强自己的抗压能力,让自己在面对困难时可以从容自定;也要解决拖拉这个问题。

- 加多对学习的时间的投入,让自己能把技术学得比较深。


​ 控制组李凌嘉


73 changes: 73 additions & 0 deletions 2022-finalproject/llj/git/git.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
# git运用

## 第一题:

- ```
git reset
lljskh marked this conversation as resolved.
Show resolved Hide resolved
```

当执行 `git reset HEAD`命令时,暂存区的目录树会被重写,被 master 分支指向的目录树所替换,但是工作区不受影响。



![图片](photo/1.png)







- ```
git rm --cached
```

当执行 `git rm --cached <file>` 命令时,会直接从暂存区删除文件,工作区则不做出改变。

![图片](photo/2.png)



## 第二题

- ```
git reset(不修改历史)
```

`git reset` 主要是通过`git reset --sort` 回退到某个版本,然后通过`git push -f`强制去覆盖已有版本,同时会把版本号之后的修改记录给覆盖

![图片](photo/3.1.png)

![图片](photo/3.2.png)



- ```
git revert(修改历史)
```

`git revert` 则比较温和,他会留下修改记录

![图片](photo/4.png)



## 第三题

- ```
git debase
```

`git debase`相比于`git merge`它的提交是线性的,更加清晰可读。

![图片](photo/7.png)



- ```
git merge
```

`git merge`在解决冲突上更加方便

![图片](photo/6.png)
Binary file added 2022-finalproject/llj/git/photo/1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 2022-finalproject/llj/git/photo/2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 2022-finalproject/llj/git/photo/3.1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 2022-finalproject/llj/git/photo/3.2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 2022-finalproject/llj/git/photo/4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 2022-finalproject/llj/git/photo/6.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 2022-finalproject/llj/git/photo/7.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.