fetch
The
fetch
command is used to fetch the base or target branch of a merge request. kit mr fetch [options] [[remote] id]
Usage:
kit mr fetch [flags] [[remote] id]
Flags:
-b, --base Fetch the base branch instead of the target branch
--force-fetch Forcefully fetch the branch (uncommitted changes will be lost)
-h, --help help for fetch
remote
- (Optional) The name of the remote to fetch from (Default: origin).id
- The merge request ID.
-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.
kit mr fetch "1"
Last modified 2yr ago