commit

Creates a new commit

Input fields

newCommit (NewCommit!)

The information of the commit

repositoryId (ID!)

The repository to create the branch in

Return fields

author (GitUser!)

The author of the commit

authoredAt (Time!)

The time the commit was authored at

committedAt (Time!)

The time the commit was created

committer (GitUser!)

The committer of the commit

diff ([Diff!]!)

The changes that this commit introduced

directory ([Directory!])

The entries of a directory

Argument Type Description
path ID!

The path to the directory to list

document (Document)

A document containing OMS data

Argument Type Description
locId ID!

The Loc/Id of the document

file (File)

A file

Argument Type Description
loadAllData Boolean

Load more than the 10 Megabytes for the web view

The default value is false.

path ID!

The path to the file

fileVersion (FileVersion)

A FileVersion for the given path

Argument Type Description
path ID!

The path of the FileVersion

id (ID!)

The sha hash of the commit

lsFiles ([String!]!)

A list of all file paths in the repository

mapping (Mapping)

A Mapping

Argument Type Description
locId ID!

The Loc/Id of the Mapping

message (String!)

The commit message

oms (OMS)

An OMS

Argument Type Description
locId ID!

The Loc/Id of the OMS

parentIds ([ID!]!)

The parents of the commit

referenceNames ([String!]!)

The names of the references that point to this commit

references ([Reference!]!)

The references that point to this commit

sentence (Sentence)

A Sentence

Argument Type Description
locId ID!

The Loc/Id of the Sentence

symbol (Symbol)

A Symbol

Argument Type Description
locId ID!

The Loc/Id of the Symbol