Skip to content

Commit 5b307e9

Browse files
committed
Merge branch 'jk/pull-to-integrate'
* jk/pull-to-integrate: pull: change the description to "integrate" changes push: avoid suggesting "merging" remote changes
2 parents e70aee5 + 153d726 commit 5b307e9

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

Documentation/git-pull.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ git-pull(1)
33

44
NAME
55
----
6-
git-pull - Fetch from and merge with another repository or a local branch
6+
git-pull - Fetch from and integrate with another repository or a local branch
77

88

99
SYNOPSIS

builtin/push.c

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -230,8 +230,8 @@ static void setup_default_push_refspecs(struct remote *remote)
230230

231231
static const char message_advice_pull_before_push[] =
232232
N_("Updates were rejected because the tip of your current branch is behind\n"
233-
"its remote counterpart. Merge the remote changes (e.g. 'git pull')\n"
234-
"before pushing again.\n"
233+
"its remote counterpart. Integrate the remote changes (e.g.\n"
234+
"'git pull ...') before pushing again.\n"
235235
"See the 'Note about fast-forwards' in 'git push --help' for details.");
236236

237237
static const char message_advice_use_upstream[] =
@@ -242,15 +242,15 @@ static const char message_advice_use_upstream[] =
242242

243243
static const char message_advice_checkout_pull_push[] =
244244
N_("Updates were rejected because a pushed branch tip is behind its remote\n"
245-
"counterpart. Check out this branch and merge the remote changes\n"
246-
"(e.g. 'git pull') before pushing again.\n"
245+
"counterpart. Check out this branch and integrate the remote changes\n"
246+
"(e.g. 'git pull ...') before pushing again.\n"
247247
"See the 'Note about fast-forwards' in 'git push --help' for details.");
248248

249249
static const char message_advice_ref_fetch_first[] =
250250
N_("Updates were rejected because the remote contains work that you do\n"
251251
"not have locally. This is usually caused by another repository pushing\n"
252-
"to the same ref. You may want to first merge the remote changes (e.g.,\n"
253-
"'git pull') before pushing again.\n"
252+
"to the same ref. You may want to first integrate the remote changes\n"
253+
"(e.g., 'git pull ...') before pushing again.\n"
254254
"See the 'Note about fast-forwards' in 'git push --help' for details.");
255255

256256
static const char message_advice_ref_already_exists[] =

git-pull.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# Fetch one or more remote refs and merge it/them into the current HEAD.
66

77
USAGE='[-n | --no-stat] [--[no-]commit] [--[no-]squash] [--[no-]ff] [-s strategy]... [<fetch-options>] <repo> <head>...'
8-
LONG_USAGE='Fetch one or more remote refs and merge it/them into the current HEAD.'
8+
LONG_USAGE='Fetch one or more remote refs and integrate it/them with the current HEAD.'
99
SUBDIRECTORY_OK=Yes
1010
OPTIONS_SPEC=
1111
. git-sh-setup

0 commit comments

Comments
 (0)