diff options
author | Thorsten Leemhuis <linux@leemhuis.info> | 2024-03-28 14:48:51 +0100 |
---|---|---|
committer | Konstantin Ryabitsev <konstantin@linuxfoundation.org> | 2024-03-28 17:41:28 -0400 |
commit | ae230f928042c79fe52c8769276cdac0816284fd (patch) | |
tree | f81ba56d53d4bbb201596640484cbdd477aa1662 | |
parent | 2e7f250044b85538996d3b2e60eea0589acea3eb (diff) | |
download | website-ae230f928042c79fe52c8769276cdac0816284fd.tar.gz |
cloning from bundle: drop verify step broken with modern gitv2024-03-28-01
When following the instructions with modern git, users will run into the
following error, unless they happen to be in a directory with a git
repository:
$ git bundle verify ./clone.bundle
error: need a repository to verify a bundle
That happens since
https://git.kernel.org/pub/scm/git/git.git/commit/?id=3bbbe467f294fae8a286e47af676fa783ad970c1
Drop the verify step to prevent this.
Signed-off-by: Thorsten Leemhuis <linux@leemhuis.info>
Signed-off-by: Konstantin Ryabitsev <konstantin@linuxfoundation.org>
-rw-r--r-- | content/news/2016-03-02-git-clone-bundle.rst | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/content/news/2016-03-02-git-clone-bundle.rst b/content/news/2016-03-02-git-clone-bundle.rst index 6041388..c5ef276 100644 --- a/content/news/2016-03-02-git-clone-bundle.rst +++ b/content/news/2016-03-02-git-clone-bundle.rst @@ -18,18 +18,11 @@ Here is how you would do it. wget -c https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/clone.bundle -2. Once the download is completed, verify that the bundle has downloaded - correctly:: - - git bundle verify clone.bundle - ... - clone.bundle is okay - -3. Next, clone from the bundle:: +2. Next, clone from the bundle:: git clone clone.bundle linux -4. Now, point the origin to the live git repository and get the latest changes:: +3. Now, point the origin to the live git repository and get the latest changes:: cd linux git remote remove origin |