DEV Community

Cover image for HOW TO USE GIT FOR WORDPRESS DEVELOPMENT???
SHUBHENDU SHUBHAM
SHUBHENDU SHUBHAM

Posted on

HOW TO USE GIT FOR WORDPRESS DEVELOPMENT???

Let's first understand GIT:-

GIT : A BRIEF INTRODUCTION

Git is a version control system.This version control is used to keep track of the revisions or changes you have

HOW TO USE GIT:-

1.The first step is obvious- you need to install Git to your computer. You can choose the Git version based on the operating system you are using. The download link is available on the homepage of the Git site

  1. Next on, you need to introduce yourself to the Git version control system. This is so that whenever you make a change to the project, your name is added, and everyone knows who has made the necessary change Git config –-global name.name “Your Name” Replace “your name” with your actual name in the code to save your project with your name.

3.Once you have signed up using your email address and also configured Git with your name, you need to create the local repository, which will allow you to save all the files that you have created as part of the project. Whenever you need to check on a particular file, document or revision you have made, you simply need to visit the repository. You will need to choose the version control system before you make the repository. In this case, it is git. You can always use the command line tool to create the repository

4.Once you have created the repository, you can get started with the project. Upload the current status of the project. There are two statuses- staged and unstaged. When you have committed the project, it is a staged version of the project.

Top comments (0)