Edit Code and Commit Git

Edit Code and Commit Git

Edit Code and Commit Git

In this article , will perform the below task

(1) Modify Function calwildCard from ES5 to ES6

(2) Check the Current Git status

(3) Add the Modify Script in the Git Staging Area

(4) Commit the edited File

(5) Check Git Log

Step 1

Modify the Function from ES5 to ES6

ES5
ES5
ES6
ES6

Step 2

Check Git status

git status
git status

Step 3

Add the Modified Code to the staging Area

git add
git add

Step 5

Commit Changes

git_commit
git_commit

Step 6

Check the Log

git log
git log

 

Check out how to add local file to Git Hub

Leave a Reply

Your email address will not be published. Required fields are marked *

2 + 4 =