Merge branch 'pw/rebase-progress-test-cleanup'
[gitweb.git] / builtin / clone.c
index 189ea1c2a0d2767534cb244c5780ad4a0d74a814..a4fe72879d43e4e42d6cbb5a4dada2f7a111b872 100644 (file)
@@ -494,7 +494,7 @@ static enum {
 static const char junk_leave_repo_msg[] =
 N_("Clone succeeded, but checkout failed.\n"
    "You can inspect what was checked out with 'git status'\n"
-   "and retry the checkout with 'git checkout -f HEAD'\n");
+   "and retry with 'git restore --source=HEAD :/'\n");
 
 static void remove_junk(void)
 {