@@ -319,7 +319,7 @@ do so (now or later) by using -b with the checkout command again. Example:
319
319
320
320
git checkout -b new_branch_name
321
321
322
- HEAD is now at 427abfa... Linux v2.6.17
322
+ HEAD is now at 427abfa Linux v2.6.17
323
323
------------------------------------------------
324
324
325
325
The HEAD then refers to the SHA-1 of the commit instead of to a branch,
@@ -508,7 +508,7 @@ Bisecting: 3537 revisions left to test after this
508
508
509
509
If you run `git branch` at this point, you'll see that Git has
510
510
temporarily moved you in "(no branch)". HEAD is now detached from any
511
- branch and points directly to a commit (with commit id 65934... ) that
511
+ branch and points directly to a commit (with commit id 65934) that
512
512
is reachable from "master" but not from v2.6.18. Compile and test it,
513
513
and see whether it crashes. Assume it does crash. Then:
514
514
@@ -549,14 +549,14 @@ says "bisect". Choose a safe-looking commit nearby, note its commit
549
549
id, and check it out with:
550
550
551
551
-------------------------------------------------
552
- $ git reset --hard fb47ddb2db...
552
+ $ git reset --hard fb47ddb2db
553
553
-------------------------------------------------
554
554
555
555
then test, run `bisect good` or `bisect bad` as appropriate, and
556
556
continue.
557
557
558
558
Instead of `git bisect visualize` and then `git reset --hard
559
- fb47ddb2db... `, you might just want to tell Git that you want to skip
559
+ fb47ddb2db`, you might just want to tell Git that you want to skip
560
560
the current commit:
561
561
562
562
-------------------------------------------------
@@ -3426,6 +3426,8 @@ Date:
3426
3426
...
3427
3427
:100644 100644 oldsha... 4b9458b... M somedirectory/myfile
3428
3428
------------------------------------------------
3429
+ (Note that in the above, the "..." are used as continuation
3430
+ indications, not as symmetric difference operators!)
3429
3431
3430
3432
This tells you that the immediately following version of the file was
3431
3433
"newsha", and that the immediately preceding version was "oldsha".
@@ -3449,7 +3451,7 @@ and your repository is good again!
3449
3451
$ git log --raw --all
3450
3452
------------------------------------------------
3451
3453
3452
- and just looked for the sha of the missing object (4b9458b.. ) in that
3454
+ and just looked for the sha of the missing object (4b9458b) in that
3453
3455
whole thing. It's up to you--Git does *have* a lot of information, it is
3454
3456
just missing one particular blob version.
3455
3457
@@ -4114,9 +4116,9 @@ program, e.g. `diff3`, `merge`, or Git's own merge-file, on
4114
4116
the blob objects from these three stages yourself, like this:
4115
4117
4116
4118
------------------------------------------------
4117
- $ git cat-file blob 263414f... >hello.c~1
4118
- $ git cat-file blob 06fa6a2... >hello.c~2
4119
- $ git cat-file blob cc44c73... >hello.c~3
4119
+ $ git cat-file blob 263414f >hello.c~1
4120
+ $ git cat-file blob 06fa6a2 >hello.c~2
4121
+ $ git cat-file blob cc44c73 >hello.c~3
4120
4122
$ git merge-file hello.c~2 hello.c~1 hello.c~3
4121
4123
------------------------------------------------
4122
4124
@@ -4374,7 +4376,7 @@ $ git log --no-merges t/
4374
4376
------------------------
4375
4377
4376
4378
In the pager (`less`), just search for "bundle", go a few lines back,
4377
- and see that it is in commit 18449ab0... Now just copy this object name,
4379
+ and see that it is in commit 18449ab0. Now just copy this object name,
4378
4380
and paste it into the command line
4379
4381
4380
4382
-------------------
0 commit comments