import_from_git

Import another Fastfile from a remote git repository to use its lanes

This is useful if you have shared lanes across multiple apps and you want to store the Fastfile in a remote git repository.

import_from_git
Supported platforms ios, android, mac
Author @fabiomassimo, @KrauseFx, @Liquidsoul

1 Example

import_from_git(
  url: "git@github.com:fastlane/fastlane.git", # The URL of the repository to import the Fastfile from.
  branch: "HEAD", # The branch to checkout on the repository. Defaults to `HEAD`.
  path: "fastlane/Fastfile" # The path of the Fastfile in the repository. Defaults to `fastlane/Fastfile`.
)

Parameters

Key Description
url The URL of the repository to import the Fastfile from
branch The branch or tag to check-out on the repository
path The path of the Fastfile in the repository


To show the documentation in your terminal, run

fastlane action import_from_git

View source code


Back to actions