Java novice learning 2021-1-19 record daily learning content (if there is any infringement, please contact to delete!!!)

2021-1-19

1. Git related knowledge points (download and installation/operation and entry)

Download and installation
Insert picture description here
Insert picture description here
operation and getting started
Insert picture description here

2. Git workflow

Insert picture description here

3. Git historical version switch

Insert picture description here
Insert picture description here

4. Git branch management (create and switch)

Insert picture description here
Insert picture description here

5. Merge branches and delete branches

Insert picture description here
Insert picture description here

6. Remote warehouse (generated warehouse)

Insert picture description here
Insert picture description here
1. Set up Git account
Insert picture description here
2. Generate ssh public key
Insert picture description here
3. Set account public key
Insert picture description here
4. Public key test
Insert picture description here
Insert picture description here

7. Push to remote warehouse

1. Push
Insert picture description here
Insert picture description here
Insert picture description here
2. Clone and pull
Insert picture description here

8.Idea integrates Git

1. Idea configuration Git
File-Settings-Version Control- Git -designated directory
2. Create a local warehouse
Insert picture description here
3. IDea code submission
Insert picture description here
Insert picture description here

9. Idea branch management (new and switch)

New branch-switch branch
Insert picture description here
code push
Insert picture description here
code clone
Insert picture description here

10. Push files from the folder to your own newly created code cloud warehouse operation

Insert picture description here

Insert picture description here
1. git bush here
right-click to open git from the place where the code is stored in the current folder 2. git
init
initializes and creates a git warehouse
3. Enter the command git remote add origin https:
//...get where orignal can be named by yourself, and the following URL is
For the link address obtained when creating a new project on Code Cloud, including https and ssh URLs can be used
4. Enter the command git add .
(Reminder: add a space after add **.**)
5. Enter the command git commit -m "xxx"
can submit instructions and remarks on the submitted code.
6. Enter the command git push origin master
(not to mention: git push -u origin master -f is a command to force the submission of code on the code cloud, but the most Fortunately, use the git push origin master command to upload, if there is no special case, please do not use the mandatory command to upload)

Guess you like

Origin blog.csdn.net/weixin_49221590/article/details/112838162