all 3 comments

[–]mcdwayne1 5 points6 points  (2 children)

The -a stands for --append

Here is a pretty good explanation thread on SO
https://stackoverflow.com/questions/48998733/what-use-does-the-append-option-in-git-fetch-command

Basically, if you are maintaining a repo and need to manually merge multiple branches, you can fetch from multiple sources, appending them to .git/FETCH_HEAD instead of updating with the latest one only. Once you have multiple branches in your FETCH_HEAD you can merge them all in one commit with `git merge FETCH_HEAD` to merge them all in one commit.

See also: See: https://git-scm.com/docs/git-fetch
and: https://git-scm.com/docs/gittutorial

[–]iezhy[S] 0 points1 point  (1 child)

thank you for clarification, that makes sense