git_add¶
Directly add the given file or all files
git_add | |
---|---|
Supported platforms | ios, android, mac |
Author | @4brunu, @antondomashnev |
7 Examples¶
git_add
git_add(path: "./version.txt")
git_add(path: ["./version.txt", "./changelog.txt"])
git_add(path: "./Frameworks/*", shell_escape: false)
git_add(path: ["*.h", "*.m"], shell_escape: false)
git_add(path: "./Frameworks/*", shell_escape: false)
git_add(path: "*.txt", shell_escape: false)
Parameters¶
Key | Description | Default |
---|---|---|
path |
The file(s) and path(s) you want to add | |
shell_escape |
Shell escapes paths (set to false if using wildcards or manually escaping spaces in :path) | true |
pathspec |
DEPRECATED! Use --path instead - The pathspec you want to add files from |
* = default value is dependent on the user's system
To show the documentation in your terminal, run
fastlane action git_add