Skip to content

ianmorgan/change-detector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Change Detector

A simple change detector to monitor a git repo at a folder level to see what has changed between commits. This can then be fed into a build pipeline to selectively build, test and deploy just the affected components.

The basic building block is the git diff command, for example:

## Full change details 
git diff 50a6eea 8857709 -- repo/componentA

### Just the stats
git diff --stat 50a6eea 8857709 -- repo/componentA

### Nothing changed for componentB between these commits 
git diff --stat 50a6eea 8857709 -- repo/componentB

About

A simple change detector to monitor a git repo

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages