summaryrefslogtreecommitdiff
path: root/content/en/blog/mastering_git.md
diff options
context:
space:
mode:
authormiraikumiko <miraikumiko@disroot.org>2025-05-03 12:27:12 +0200
committermiraikumiko <miraikumiko@disroot.org>2025-05-03 12:27:12 +0200
commita581dc1d3c14428cb60c9838626788fcb68a208f (patch)
treeacdf9f900fa272cc2e248068d013eeb5e168fd57 /content/en/blog/mastering_git.md
parent0072963b214b29734cac8384380c4caf8e4e8250 (diff)
downloadmiraikumiko.com-a581dc1d3c14428cb60c9838626788fcb68a208f.tar.gz
miraikumiko.com-a581dc1d3c14428cb60c9838626788fcb68a208f.tar.bz2
Update mastering_git.md
Diffstat (limited to 'content/en/blog/mastering_git.md')
-rw-r--r--content/en/blog/mastering_git.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/content/en/blog/mastering_git.md b/content/en/blog/mastering_git.md
index 1f26946..d5964c2 100644
--- a/content/en/blog/mastering_git.md
+++ b/content/en/blog/mastering_git.md
@@ -23,7 +23,7 @@ Restore file from specific commit `git restore -s abcd123 file.txt`
## Diff
-Show the state of a file in a specific commit `git diff abcd123 -- file.c`
+Show the state of a file in a specific commit `git show abcd123 file.c`
Show the difference between two commits `git diff abcd123..efgh123`
@@ -120,7 +120,7 @@ And the second one carries out binary search in interactive mode. When you start
You can fully automate this process by passing a script that runs tests and returns 0 in case of success or 1 in error.
```
-$ git bisect start HEAD v1.0
+$ git bisect start HEAD v1.0.0
$ git bisect run test-error.sh
```