[Linux] 6. Realize the basic understanding and use of progress bar and git

Write a small program - progress bar

1. Understand the buffer concept

insert image description here

2. Understand the difference between \n and \r

At the operating system level: \n means a newline \r means a carriage return
At the language level: \n means a carriage return and a newline

insert image description here

3. Demand analysis of progress bar

insert image description here

4. Code compilation

insert image description here
insert image description here

5. Code optimization

insert image description here
insert image description here
The writing of the progress bar is completed here, ✿✿ヽ(°▽°)ノ✿! ! !

Git

1. What is Git

git aka version controller, version management of resources.
When we want to restore the original version after multiple modifications to the data, we can use git. What git implements is version acquisition and visualization services
. directly in the browser

2. The history of Git development (understand)

insert image description here

3. Git operation

The first is to create a corresponding warehouse on gitee
insert image description here
insert image description here

3.1 git clone

insert image description here
insert image description here

3.2 git add .

insert image description here

3.3 git commit -m ‘XXXX’

insert image description here

3.4 git push

insert image description here

3.5 git log

insert image description here

3.6 git status

insert image description here

3.7 git pull

insert image description here

3.8 git rm XXX

insert image description here
So, finally attach my code implementation: progress bar

Guess you like

Origin blog.csdn.net/weixin_60915103/article/details/130463240