Skip to content

Commit edb9c63

Browse files
committed
Add some information about push return message format
1 parent 6d90fc5 commit edb9c63

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

book/05-distributed-git/sections/contributing.asc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,9 @@ To jessica@githost:simplegit.git
143143
1edee6b..fbff5bc master -> master
144144
----
145145

146-
John tries to push his change up, too:
146+
The last line of the output above shows a useful return message from the push operation. The basic format is `<oldref>..<newref> fromref -> toref`, where oldref means the old reference, newref means the new reference, fromref is the name of the local reference being pushed, and toref is the name of the remote reference being updated. You'll see similar output like this below in the discussions, so having a basic idea of the meaning will help in understanding the various states of the repositories. More details are available in the documentation for git push.
147+
148+
Continuing with the example, John tries to push his change up, too:
147149

148150
[source,console]
149151
----

0 commit comments

Comments
 (0)