powderblue/git-utils

v1.1.0 2022-03-21 13:48 UTC

This package is auto-updated.

Last update: 2023-07-21 16:26:31 UTC


README

Simple tools for working with Git in PHP.

Class Gitignore

Use to add patterns to a gitignore file.

Among others, provides methods to insert/append one/more patterns.

@todo

  • Sanity-check the append, and the insert, logic.
  • Either: extract file-handling from Gitignore; or do not automatically mutate the loaded file.