It says it adds an upstream tracking reference, but when I search the website for references, it does not explain what a "tracking reference" is. The word tracking has no results on the page.
<https://lh3.googleusercontent.com/-Ac4yCcHCsfI/VynyhWhqqNI/AAAAAAAABGM/ctXLHyHRbJoOYdFfaH-fPlA_xKAyR8mIACLcB/s1600/git%2Breferences.png> On Wednesday, May 4, 2016 at 1:58:15 PM UTC+1, Magnus Therning wrote: > > > desbest desbest <afanint...@gmail.com <javascript:>> 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: mc...@ceplovi.cz <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, magnus....@cipherstone.com <javascript:> > 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 gitlabhq+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/gitlabhq/9a28ddd2-9117-4f21-8b64-3cbeb16fd3c5%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.