diff options
author | Kirill Brilliantov <brilliantov@inbox.ru> | 2013-01-01 17:54:44 +0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-01-01 12:43:02 -0800 |
commit | ded6aa6bdaeca5dbeb2b8811ab5d9ec419847b00 (patch) | |
tree | 876a4f4f213ca64777cf50814c77873822498649 /setup.c | |
parent | 7e2010537e96d0a1144520222f20ba1dc3d61441 (diff) | |
download | git-ded6aa6bdaeca5dbeb2b8811ab5d9ec419847b00.tar.gz git-ded6aa6bdaeca5dbeb2b8811ab5d9ec419847b00.tar.xz |
Documentation: correct example restore from bundle
Because the bundle created in the example does not record HEAD, "git
clone" will not check out the files to the working tree:
$ git clone pr.bundle q/
Cloning into 'q'...
Receiving objects: 100% (619/619), 13.52 MiB | 18.74 MiB/s, done.
Resolving deltas: 100% (413/413), done.
warning: remote HEAD refers to nonexistent ref, unable to checkout.
Avoid alarming the readers by adding "-b master" to the example. A
better fix may be to arrange the bundle created in the earlier step
to record HEAD, so that it can be cloned without this workaround.
Signed-off-by: Brilliantov Kirill Vladimirovich <brilliantov@inbox.ru>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'setup.c')
0 files changed, 0 insertions, 0 deletions