E-mail : support@tech2now.in

GIT COMMIT

Git Git Hub git commit gir rebase git status git init

Git commit is a command that saves the current state of your working directory to the Git repository It creates a new commit object, which contains the changes that you have made to your files, as well as a commit message.

The commit message is a brief description of the changes that you have made.

After adding the file to you git repo you need to run git status command to check the status of your repository. It will show you the modified files and any untracked files.

git add file1.txt # Stage a specific file
git add directory/ # Stage all files in a directory
git add . # Stage all changes

After staging the changes, use the git commit command to create a new commit.

Example: git commit -m “commit message”