summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: ec8460b)
raw | patch | inline | side by side (parent: ec8460b)
author | Matthieu Moy <Matthieu.Moy@imag.fr> | |
Wed, 2 Mar 2011 20:12:11 +0000 (21:12 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 2 Mar 2011 23:34:26 +0000 (15:34 -0800) |
Signed-off-by: Matthieu Moy <Matthieu.Moy@imag.fr>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/push.c | patch | blob | history |
diff --git a/builtin/push.c b/builtin/push.c
index 1b493fb5a96219ddaa05bd6286a1d643f8b7d58d..c3c2feb9449b5cd3539c18b58ce0fb2886a623b9 100644 (file)
--- a/builtin/push.c
+++ b/builtin/push.c
if (!remote) {
if (repo)
die("bad repository '%s'", repo);
- die("No destination configured to push to.");
+ die("No configured push destination.\n"
+ "Either specify the URL from the command-line or configure a remote repository using\n"
+ "\n"
+ " git remote add <name> <url>\n"
+ "\n"
+ "and then push using the remote name\n"
+ "\n"
+ " git push <name>\n");
}
if (remote->mirror)