Skip to content

Git setting

git-info

The detail settings about how to run git operation. In PyFake-API-Server-Surveillance, it would commit the change and push to remote repository by itself without any manually operations. So this section targets set some details of its git operation.

repo

The target repository naming which need include project owner name. For example, Chisanan232/Sample-Fake-Server.

New in version 0.2.0

It has default value is the current GitHub repository which be got by environemnt variable GITHUB_REPOSITORY.

commit

The section about setting properties which are relative with git commit operation.

commit.author

The section about setting the author of commit.

commit.author.name

The author name. For example, Fake-API-Server-Surveillance [bot].

Translate as command line

Means the command line operation:

>>> git config user.name
commit.author.email

The email info of author. For example, test@gmail.com.

Translate as command line

Means the command line operation:

>>> git config user.email

commit.message

What message it should use to operate git commit.

Translate as command line

Means the command line operation:

>>> git commit -m "<the value of git-info.commit.message>"