Git Fetch

   

The Git Fetch action allows you to download objects and refs from another repository.

From the Git Repository tab select the local repository location that you will be doing the fetch into and the remote repository that you will be doing the fetch from.

Git_GitRepository

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: <source ref>:<destination ref>. For more information about using the refspec option when fetching in git see git fetch.

Git_Fetch

The Fetch Options tab to select the options that you want to execute:

Quiet - Suppress output from Git.

Verbose - Verbose output from Git.

Append - Append ref names and object names of the fetched material to the existing contents of .git/FETCH_HEAD. If this option is omitted the old data in this location will be overwritten.

Tags - This option specifies that all tags (and their associated objects) should be downloaded, even those that are not reachable from the branch heads that are being tracked (which are omitted by default).

No Tags - Tags that point to objects are downloaded from the remote repository by default. This option disables this from occurring.

Force - When using the refspec option to specify <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.

Keep - Keep downloaded pack.

Update Head Ok - The fetch command will not allow you to update the head which corresponds to the current branch by default. This option disables the check.

Depth - Increase the history depth of a shallow repository by the specified number of commits.

For more information on performing a fetch in git, see: git fetch