X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=doc%2Fgit-howto.texi;h=b3c8ff00ebefcfb3b0bad68c9f680db805979424;hb=229843aa359ae0c9519977d7fa952688db63f559;hp=b7b5d434804234c3a4bfc5f3a62e0e7e6cdb36ad;hpb=52566efd5cf8c40d4e5bf8d54fa3cfdab921baad;p=ffmpeg diff --git a/doc/git-howto.texi b/doc/git-howto.texi index b7b5d434804..b3c8ff00ebe 100644 --- a/doc/git-howto.texi +++ b/doc/git-howto.texi @@ -326,10 +326,12 @@ faulty commit disappear from the history. @section Pushing changes to remote trees @example -git push +git push origin master --dry-run @end example -Will push the changes to the default remote (@var{origin}). +Will simulate a push of the local master branch to the default remote +(@var{origin}). And list which branches and ranges or commits would have been +pushed. Git will prevent you from pushing changes if the local and remote trees are out of sync. Refer to @ref{Updating the source tree to the latest revision}.