Get the git metadata attached to an item
scripts_list_sql_git(id)
id | integer required. The ID of the file. |
---|
A list containing the following elements:
string, A git reference specifying an unambiguous version of the file. Can be a branch name, or the full or shortened SHA of a commit.
string, The git branch that the file is on.
string, The path of the file in the repository.
list, A list containing the following elements:
id integer, The ID for this git repository.
repoUrl string, The URL for this git repository.
createdAt string,
updatedAt string,
boolean, Automatically pull latest commit from git. Only works for scripts.