Update cheatsheets

This commit is contained in:
ivuorinen
2025-12-22 00:22:43 +00:00
parent 9017f8acda
commit 716a67f83d
236 changed files with 290 additions and 289 deletions

View File

@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
---
# git reset
> Undo commits or unstage changes, by resetting the current Git HEAD to the specified state.
> Undo commits or unstage changes by resetting the current Git HEAD to the specified state.
> If a path is passed, it works as "unstage"; if a commit hash or branch is passed, it works as "uncommit".
> More information: <https://git-scm.com/docs/git-reset>.
@@ -33,6 +33,6 @@ source: https://github.com/tldr-pages/tldr.git
`git reset --hard`
- Reset the repository to a given commit, discarding committed, staged and uncommitted changes since then:
- Reset the repository to a given commit, discarding committed, staged, and uncommitted changes since then:
`git reset --hard {{commit}}`