Code cloud, github command line submission document (cmder)


Insert picture description here

1. Create a new folder for clone warehouse to local

Insert picture description here

2. Enter the "clone local" folder, right-click on the blank space, and enter cmder

Insert picture description here

3. Enter the command,git clone address, This address is the ssh address of your warehouse

eg:

git clone git@gitee.com:dd0610/beta-1.git

address:
Insert picture description here

  • After entering the command from the command line, it will automatically clone your warehouse to the local
    Insert picture description here
  • At this time, the warehouse beta 1 (beta-1) was successfully cloned locally, which is the beta-1 file above
    Insert picture description here

4. Enter the folder beta-1 under clone, and then manually put the file you want to add into the corresponding file directory

Insert picture description here

5. Enter the command to add,git add file name

Insert picture description here

6. Submit, git commit -m "must add remarks"

Insert picture description here

7. Finally, git push

Insert picture description here

8. Submit successfully, take a look at the warehouse

Insert picture description here

9. Summary

  1. git clone address
  2. Put the files that need to be submitted into the submitted directory first
  3. git add file name
  4. git commit -m "Remember to add notes"
  5. git push

Guess you like

Origin blog.csdn.net/weixin_43722052/article/details/113095712