Resetting Vs Reverting

Git Revert

The git revert command can be considered an 'undo' type command, however, it is not a traditional undo operation. Instead of removing the commit from [...]

Git Add

The git add command adds a change in the working directory to the staging area. It tells Git that you want to include updates to a particular file in the next [...]

Git Log

The git log command displays committed snapshots. It lets you list the project history, filter it, and search for specific changes. While git status lets you [...]

Git Status

The git status command displays the state of the working directory and the staging area. It lets you see which changes have been staged, which haven’t, [...]

Git Reset

The git reset command is a complex and versatile tool for undoing changes. It has three primary forms of invocation. These forms correspond to command line [...]