The Foursquare Blog

recording discoveries along the pathway of life

advogato: git fetch, push, and pull
11th March 2009
badger, those pull and push settings are configurable. Usually when I do a git-fetch, it grabs everything. Check how your remotes are setup in .git/config, and edit to taste.

Note that pull and push are not two halves of the same coin. For that, use fetch and push. Pull is a mix of fetch and merge, and it doesn't make sense to merge using multiple branch targets all at once. In fact, that is impossible as far as I know. Whenever you do a merge, you are always merging some other branch into your current branch.

Tags: advogato-old, git.

Created by Chronicle v4.6