Hi there! Welcome back and today we are looking into must-know Git commands for beginners.
Git works by remembering the changes to your files as if it's taking snapshots of your file system. So let's cover a few basic commands to start tracking files in your repo.
First is:
git status
: provides a snapshot of your repository’s status; It lets you see which changes are currently being tracked by Git.
Second is:git add
: this is a command you use to tell Git to start keeping track of changes in certain files.
Third is:git help
: use this command to get information about all other commands easily. This command provides comprehensive manual page (manpage) help for any Git command.
Want to add more? Kindly state them in the comment box!
I also recommend learning "Introduction to Git" with Microsoft Learn.
Thanks for taking the time to read and engage.
Adios!