Notes on Github Desktop project management

Introduction:

Github manages its own project process steps: modify → conmmit → publish → view
The GitHub desktop version is very convenient for individual users. You don’t need to memorize so many commands, you only need to understand some concepts, and then click on the interface.
Official website download address: https://desktop.github.com/

Create library:

  1. Click File in the upper corner again, and then there is a New repository
  2. Give the warehouse a name and find an address for it locally.
  3. Check the radio button on the third line, which is equivalent to an initialization, and a readme file will be created.
    insert image description here

Add and modify files:

  1. Enter the directory of the warehouse and create a new txt file. At this time, it will be displayed on github
  2. Or modify TXT directly with a text editor, GitHub can also detect
  3. Or copy the program group you originally wrote in, and GitHub can also detect it

Submit version commit:

insert image description here

  • If the code is modified, the project has entered a new "version" at this moment, so if you are sure of the modification you just made, you should click commit to submit the current version. Properly explain the modification and click commit in the lower left corner
    insert image description here

Sync to cloud publish:

The above modifications and submitted versions are all carried out locally, and there is no change on the github website in the cloud. So if you are sure of your local modifications, you should push publish to the cloud.

  • If the current project already exists in the cloud warehouse, click publish to synchronize your local changes to the cloud and refresh the cloud data.
  • If it is your first time to publish, the following interface will pop up after clicking, asking if you want to create the same warehouse in the cloud as the local one, select Yes and tick Cancel.
    insert image description here

View on the Github homepage:

insert image description here

Guess you like

Origin blog.csdn.net/qq_42823043/article/details/110950212