fetch
The fetch command is used to fetch the base or target branch of a merge request.

Usage

1
kit mr fetch [options] [[remote] id]
Copied!
1
Usage:
2
kit mr fetch [flags] [[remote] id]
3
4
Flags:
5
-b, --base Fetch the base branch instead of the target branch
6
--force-fetch Forcefully fetch the branch (uncommitted changes will be lost)
7
-h, --help help for fetch
Copied!

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

1
kit mr fetch "1"
Copied!
Last modified 10mo ago