git_commit

Directly commit the given file with the given message

git_commit
Supported platforms ios, android, mac
Author @KrauseFx

3 Examples

git_commit(path: "./version.txt", message: "Version Bump")
git_commit(path: ["./version.txt", "./changelog.txt"], message: "Version Bump")
git_commit(path: ["./*.txt", "./*.md"], message: "Update documentation")

Parameters

Key Description
path The file you want to commit
message The commit message that should be used


To show the documentation in your terminal, run

fastlane action git_commit

View source code


Back to actions