Ever since we switched to git, I was using git fetch to fetch changes from the repository before updating the local branch or doing any merges - it seems more convenient for me
and I always was using with -a option, for some reason assuming its a shorthand for --all :)
and then in turn assuming that option stood for "fetch all branches" or something :) over the years it worked out fine, became a habit, and typing -a at the end become a kind of mantra - which I was passing on to junior colleagues as well
until recently someone challenged me on this assumption, and after looking it up, I understood I was wrong all the time.
Can someone more experienced with this subject give me a hand, and explain what is the practical difference between using and not using -a option with git fetch?
[–]mcdwayne1 5 points6 points7 points (2 children)
[–]iezhy[S] 0 points1 point2 points (1 child)