Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The Refspec option on the Fetch Options tab allows you to override the default behaviour of the fetch operation which will fetch all references under refs/heads/ on the remote repository and write them to refs/remotes/origin/ within the local repository. This option allows you to specify the source and destination references in the following way: Andlt;source refAndgt;:Andlt;destination refAndgt;<source ref>:<destination ref>. For more information about using the refspec option when fetching in git see .

...

Force - When using the refspec option to specify Andlt;remote branchAndgt;:Andlt;local branchAndgt; <remote branch>:<local branch> the fetch operation will not allow you update the local branch if the remote branch is not a descendant of the local branch. This option forces the fetch to occur regardless.

...