Back to Git & GitHub

Basic Git Commands

Master the core commands for tracking changes, committing work, and viewing project history.

Day 2

Topics in this Chapter

1

Staging Changes with git add

Learn how to use the 'git add' command to stage changes before committing.

2

Saving Changes with git commit

How to save your staged changes to the local repository history.

3

Checking the Status with git status

Use 'git status' to see the state of your working directory and staging area.

4

Viewing History with git log

Learn how to view the project's commit history in different formats.

5

Undoing Changes

How to revert changes in your working directory or unstage files.

6

Ignoring Files with .gitignore

Learn how to use a .gitignore file to exclude certain files and directories from being tracked.

GeekDost - Roadmaps & Snippets for Developers