nymedia/clean-repo-check

Clean repo check

Installs: 332 135

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 4

Forks: 0

Open Issues: 2

Language:Shell

1.0.0 2020-01-10 09:24 UTC

This package is auto-updated.

Last update: 2024-11-30 02:10:50 UTC


README

Simple check to make sure a repo is clean. Useful in CI environments, and for automatic updates

Installation

You probably want to install this as a dev dependency. So for php projects:

composer require --dev nymedia/clean-repo-check

Usage

/bin/sh ./path/to/clean-repo-check.sh

This will exit with status 1 if your repo has either

  • Changed files
  • Uncommited files

It will also print git status, so it can help you fix the issues.