2021-1-19
1. Git related knowledge points (download and installation/operation and entry)
Download and installation
operation and getting started
2. Git workflow
3. Git historical version switch
4. Git branch management (create and switch)
5. Merge branches and delete branches
6. Remote warehouse (generated warehouse)
1. Set up Git account
2. Generate ssh public key
3. Set account public key
4. Public key test
7. Push to remote warehouse
1. Push
2. Clone and pull
8.Idea integrates Git
1. Idea configuration Git
File-Settings-Version Control- Git -designated directory
2. Create a local warehouse
3. IDea code submission
9. Idea branch management (new and switch)
New branch-switch branch
code push
code clone
10. Push files from the folder to your own newly created code cloud warehouse operation
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)