Files
developer-roadmap/src/data/roadmaps/git-github/content/git-reset@igrR7LguU1jemg_mf_AD6.md
T
Stavros Siamantasanddsh 0d5355018b Add content to git/github roadmap (up to git-worktree) (#6587)
* Add content to git/github roadmap (up to git-worktree)

* Apply suggestions from code review

add links to topics with no links.

---------

Co-authored-by: dsh <daniel.s.holdsworth@gmail.com>
2024-08-16 08:14:10 +01:00

626 B

git reset

Git reset is a command that allows you to "undo" or reset your current branch to a previous state by moving its HEAD pointer, effectively discarding changes made since then. When using git reset, it's essential to specify one of the three modes: soft, hard, or mixed. The mode you choose will determine how Git interacts with files in your working directory and staging area.

Visit the following resources to learn more: