Posts

Showing posts from March, 2021

How to use GIT

Image
Are you new to git? Confused with all the commands and different keywords? Follow these steps, where I show you how to : Download git Configure git Create Git repository Create and Commit a file Push to the Repo 01.Download git You can download recommended version to your PC by using this URL: https://git-scm.com/downloads 02.Configure git Verify successful installation by using the following command in command prompt: git –version   If you have successfully installed Git You should see output that looks something like: git version 2.7.4 (your version) That means you are good to go..!😉 03.Create Git Repository You have to create a folder for your project in your computer. Lets assume the folder name is “car-git-demo” Navigate to that folder from the Command prompt: cd car-git-demo Next, create a local git repository for the project using: git init 04.Create and commit a file You can add a file the git folder or create a new by using touch command: touch index.html (F