Skip to content

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

Notifications You must be signed in to change notification settings

nymedia/clean-repo-check

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

clean-repo-check

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.

About

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

Topics

Resources

Stars

Watchers

Forks

Languages