on-internet
← Community

Default remote for git fetch

Stack Overflow ·

If I am on a local branch that is not tracking any remote branch and I give the command git fetch Given I have several remotes defined in $GIT_DIR/config, from which remote is the fetch done? I tried to find out from the man page, but this point is unclear to me. Additionally: How can I change this default remote without making the local branch tracking?

Comments

Sign in or sign up to comment and upvote.

No comments yet.