desbest desbest <[email protected]> writes:
> I did read the manual, but it is unclear.
>
> <https://lh3.googleusercontent.com/-hHyH4yN_sPk/VynxI3sOd8I/AAAAAAAABF4/aEMAcwa55BAdWBDmAvcdJsrZ4ft2IU3yQCLcB/s1600/what%2Bis%2B-u.png>
>
>
> Searching the documentation for the word upstream is not of any help.
>
>
> <https://lh3.googleusercontent.com/-1PK4tr7WjgI/VynxWPQhQzI/AAAAAAAABF8/3N5h3Vm52ns6yiKFLWuU0y-Xk91Qv7OCgCLcB/s1600/not%2Bvery%2Bclear.png>
Found in the manpage for git-push:
-u, --set-upstream
For every branch that is up to date or successfully pushed, add
upstream (tracking) reference, used by argument-less git-pull(1)
and other commands. For more information, see
branch.<name>.merge in git- config(1).
/M
> So what does -u in git push do?
>
> On Wednesday, May 4, 2016 at 10:01:26 AM UTC+1, Matěj Cepl wrote:
>>
>> On 2016-05-03, 22:28 GMT, desbest desbest wrote:
>> > What does the -u do?
>>
>> RTFM ... but it makes given repository default for the further
>> pushing. It works the same on GitHub/GitLab or with any other
>> Git repository, the difference is just in the documentation.
>>
>> Matěj
>> --
>> https://matej.ceplovi.cz/blog/, Jabber: [email protected] <javascript:>
>> GPG Finger: 3C76 A027 CA45 AD70 98B5 BC1D 7920 5802 880B C9D8
>>
>> My life has been full of terrible misfortunes most of which never
>> happened.
>> -- Michel de Montaigne
>>
>>
--
Magnus Therning, [email protected]
Cipherstone Technologies AB
Theres Svenssons gata 10, 417 55 Gothenburg, Sweden
Using encryption on the Internet is the equivalent of arranging an
armored car to deliver credit-card information from someone living in
a cardboard box to someone living on a park bench.
-- Gene Spafford
--
You received this message because you are subscribed to the Google Groups
"GitLab" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/gitlabhq/87bn4mc74t.fsf%40sobel.cipherstone.com.
For more options, visit https://groups.google.com/d/optout.