Thread (9 messages) flat view 9 messages, 5 authors, 2016-06-15

Re: remote branches, and branch names in general

From: Jakub Narebski <hidden>
Date: 2016-06-15 22:46:19

"John Dlugosz" [off-list ref] writes:
I see the remote branches with names of the form remotes/pub/name where
pub is the nickname of the place I pull from.  To specify such branches,
must I always spell it out with the leading "remotes/", or can that be
shorted or implied somehow?  
You usually can omit "remotes/" prefix, and just use
"<remote>/<branch>" (or even "<remote>" for "<remote>/HEAD"). You need
it only if there is need for disambiguation.
Meanwhile, I see that branch names can be hierarchical, as I found out
when I accidently created a branch called "pub/xxx".  So I'm wondering
about the usefulness of using that for organizing topic branches based
on assigned tasks organization and the person owning that branch.
Junio uses branches like 'fc/parseopt-config' (initials + feature)
in git development...

-- 
Jakub Narebski
Poland
ShadeHawk on #git
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help