How to bind GitHub repository in Dreamweaver? The following article will give you a detailed introduction to the method of binding GitHub warehouse in dreamweaver. I hope it will be helpful to everyone.
Git is a free, open source distributed version control system for agile and efficient handling of any project, small or large.
Quoting teacher Liao Xuefeng: "
What is Git?
Git is currently the most advanced distributed version control system in the world (unique).
What are the characteristics of Git? To put it simply: high-end and classy!
Then what is a version control system?
If you have ever written a long article using Microsoft Word, you must have had this experience :
What should I do if I want to delete a paragraph, but I am afraid that I cannot recover it in the future? There is a way, first "save the current file as..." into a new Word file, and then continue to change it to a certain extent. , then "Save as..." a new file, keep changing like this, and finally your Word document becomes like this:
After a week, you want to get it back The deleted text, but I can’t remember which file it was saved in before deletion, so I have to find it one by one, which is really troublesome.
Looking at a bunch of messy files, I want to keep the latest one, and then Delete the other ones, but you are afraid that they will be used someday, so you dare not delete them. It’s really frustrating.
What’s even worse is that some parts need help from your financial colleagues to fill in, so you copy the file to U Give it to her on the disk (you may also send a copy to her via email), and then you continue to modify the Word file. A day later, your colleague will send the Word file to you. At this time, you must think about what to do after sending it to her. What changes did you make during the period of receiving her file? It is really difficult to merge your changes with hers.
So you think, if there is a software, it can not only help me automatically record every time Changes to files can also be edited collaboratively by colleagues, so you don’t have to manage a bunch of similar files yourself, and you don’t need to pass files around. If you want to check a certain change, you only need to take a look in the software. Wouldn't it be very convenient?"
Yes, this is the benefit of Git. Okay, no more nonsense, let’s get straight to the point.
First of all, we open Dreamweaver. Every time we have a website project, we need to create a new site. This is also the case when we bind the github warehouse for the first time. [Related recommendations: "dreamweaver tutorial"]
## Check here to associate the Github warehouse with the site, and check below Initialized as a git repository.After the submission is completed, you will find that the upload button has a small circle ①
After clicking, a push window will open. Then check whether the branch is consistent with your own warehouse name, otherwise git will create a new branch. The warehouse defaults to main, and the new one created is usually master.
Click Confirm and you’re done!
For more programming-related knowledge, please visit: Programming Teaching! !
The above is the detailed content of Teach you step by step how to bind GitHub repository in Dreamweaver. For more information, please follow other related articles on the PHP Chinese website!