search
HomeDevelopment ToolsdreamweaverTeach you step by step how to bind GitHub repository in Dreamweaver

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.

Teach you step by step how to bind GitHub repository in Dreamweaver

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:

Teach you step by step how to bind GitHub repository in Dreamweaver

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"]

Teach you step by step how to bind GitHub repository in Dreamweaver

Teach you step by step how to bind GitHub repository in Dreamweaver

## Check here to associate the Github warehouse with the site, and check below Initialized as a git repository.


Teach you step by step how to bind GitHub repository in Dreamweaver

Okay, we see that there is an additional .gitgnore file in the folder, and the file is green, indicating that git has detected that this is a new file. change.

Teach you step by step how to bind GitHub repository in Dreamweaver

At this time, there is an additional git option in the task box below the code editing area. Here are the tasks for submitting the temporary library, Pull (upload), and push (download). place. These files appear untracked because they are not committed to the staging repository.

Teach you step by step how to bind GitHub repository in Dreamweaver

#But we haven’t connected to the github repository yet, so we need to establish a remote connection.

Teach you step by step how to bind GitHub repository in Dreamweaver

Now we open the repository created by git and get the remote link. Reminder: Generally choose HTTP link because SSH support is not yet stable.

Teach you step by step how to bind GitHub repository in Dreamweaver

Fill it in.

Teach you step by step how to bind GitHub repository in Dreamweaver

Successful connection means you are one step closer to success!

Teach you step by step how to bind GitHub repository in Dreamweaver

At this time we check the file that needs to be uploaded and click the first button to submit it to the temporary storage area.

Teach you step by step how to bind GitHub repository in Dreamweaver

Teach you step by step how to bind GitHub repository in Dreamweaver

After the submission is completed, you will find that the upload button has a small circle ①

Teach you step by step how to bind GitHub repository in Dreamweaver

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.

Teach you step by step how to bind GitHub repository in Dreamweaver

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!

Statement
This article is reproduced at:csdn. If there is any infringement, please contact admin@php.cn delete

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

SecLists

SecLists

SecLists is the ultimate security tester's companion. It is a collection of various types of lists that are frequently used during security assessments, all in one place. SecLists helps make security testing more efficient and productive by conveniently providing all the lists a security tester might need. List types include usernames, passwords, URLs, fuzzing payloads, sensitive data patterns, web shells, and more. The tester can simply pull this repository onto a new test machine and he will have access to every type of list he needs.

DVWA

DVWA

Damn Vulnerable Web App (DVWA) is a PHP/MySQL web application that is very vulnerable. Its main goals are to be an aid for security professionals to test their skills and tools in a legal environment, to help web developers better understand the process of securing web applications, and to help teachers/students teach/learn in a classroom environment Web application security. The goal of DVWA is to practice some of the most common web vulnerabilities through a simple and straightforward interface, with varying degrees of difficulty. Please note that this software

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

SublimeText3 English version

SublimeText3 English version

Recommended: Win version, supports code prompts!

SublimeText3 Linux new version

SublimeText3 Linux new version

SublimeText3 Linux latest version