On Monday, January 18, 2016 at 9:36:17 PM UTC+13, LCD 47 wrote: > On 17 January 2016, John Little wrote: > > Or, would I be better with the cryptic commands above? (I say cryptic > > because '... use "--set-upstream-to". Something like ...' followed by > > commands where --set-upstream-to does not appear.) > > It does, "git br -u" is a shortcut for "git branch --set-upstream-to".
I did presume that, but I was hinting that giving the command in full would be appropriate when helping a newbie, and perhaps more vim-like. I suppose I was making subtle point about my newbieness, feeling it relevant to the discussion. Oh dear, I'm becoming unsubtle, sorry. > See "man git-branch", and perhaps the "Tracking Branches" section in the > official Git book: > > http://git-scm.com/book/ch3-5.html#Tracking-Branches > > It's a common problem, and the "cryptic" sequence of commands above > is really all you need to solve it. I think with recent versions of git > you can further shorten > > git co -b local > git br -u origin/master > > to > > git co -b local origin/master A sincere, unsubtle thank you for those pointers. I'll be following them up. Regards, John Little -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.