C:\\Users\\60115\\Documents\\Study\\Business Intelligence, Data Scientist, Data Analyst and Data Engineers\\Business Intelligence Analyst\\Python\\Python-Learning\\learning_git\\Fundamental-Python-Learning>git add .
C:\\Users\\60115\\Documents\\Study\\Business Intelligence, Data Scientist, Data Analyst and Data Engineers\\Business Intelligence Analyst\\Python\\Python-Learning\\learning_git\\Fundamental-Python-Learning>git status
On branch main
Your branch is ahead of 'origin/main' by 1 commit.
(use "git push" to publish your local commits)
Changes to be committed:
(use "git restore --staged <file>..." to unstage)
new file: file_one.txt
new file: file_two.txt
It’s supposed to be Modified instead new files. For instance, under new file it is written modified.
Git Commit
Git log
For example, we have some minor changes in our code.
We need to save the changes first in order the status to be “modified.”
To delete and modified file we can use command.
git commit -m "delete and modified file"
To move from the “Staging Area.” → commit the git.
It means all of modification has been set from “Staging Area.”