Skip to content

Latest commit

 

History

History

git

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Git

Git commands.

This directory contains make rules for working with Git.

Usage

Usage: make <command> [<ENV_VAR>=<value> <ENV_VAR>=<value> ...]

Commands

commit

Provides an interactive prompt for creating a Git commit message in accordance with the project's Git style guide.

$ make commit

retry-commit

Retries a previous commit created using make commit.

$ make retry-commit

This is particularly useful if a commit failed due to lint errors. An example workflow might proceed as follows:

# Stage changed files and attempt to commit the changes:
$ git add . && make commit

# Suppose `make commit` fails due to lint errors, so we resolve the lint errors.

# Stage the changes and re-attempt the commit, without having to re-enter commit info:
$ git add . && make retry-commit

apply-git-notes

Applies Git notes from the docs/git-notes directory to their corresponding commits.

$ make apply-git-notes

This is useful for fixing commit messages which contain errors or do not adhere to the project's Git style guide and to exclude certain commits from the changelog notes for specific packages.