fetch
The fetch
command is used to fetch the base or target branch of a merge request.
Usage
Arguments
remote
- (Optional) The name of the remote to fetch from (Default: origin).id
- The merge request ID.
Options
-b, --base
- Instead of checking out the target branch by default, check out the base branch.--force-fetch
- Allows the merge request branch to be forcefully fetched.-h, --help
- Prints out a help message.
Example
Last updated