Skip to content

adriangitvitz/comparegitfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

How to use

Create a diffs.json file at project root level, project must be a git repository

Create an env variable named GITHUB_TOKEN with your github token

diffs.json structure:

  • name: organization-name/repository-name
  • branch: branch-name ( not used yet )
  • files: files to compare if no path is declared
  • ignore: files to ignore when comparing

Compare files against files field in diffs.json

comparegitfiles -compare

Compare path against repo

comparegitfiles -compare -path repo-root-level/path

Use -verbose to see differences

comparegitfiles -compare -verbose
comparegitfiles -compare -path repo-root-level/path -verbose

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages