SAGARFIVE

1. Introduction

2. Git Basics

3.  Git Terminology

4.  Git Branching

5.  Git - Github

6.  Git Add (Git staging)

7.  Git Commit

8.  Github Advanced

9.  Git Remote

7.1 Git Commit (Creating Commit)

  • Git commit it is snapshot/backup stage of code in that particular branch
  • if you done changes in your source code, then we want to save the changes at that particular stage
  • We can save them by committing with this command

Git commit :

Single line commitGit commit -m “commit name”
Commit with large information(editor opens)git commit or git commit -v

Commiting Modified, Tracked files at a time :

  • git commit -a -m “commit message”