git save changes 1

git save changes

git commit -m "message"

Here is what the above code is Doing:
1. git add .
– This command adds all the files in the current directory to the staging area.
2. git commit -m “message”
– This command commits the files in the staging area to the repository.
– The -m flag is used to add a message to the commit.

Similar Posts