Skip to content

itamarbareket/git-pr-diff-parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

git-pr-diff

A git pull request diff parser. It's just a wrapper for the diff-parser module, so it'll work well with git.

API

Parser

require('git-pr-diff')(cwd: string, oldBranch: string, newBranch: string)

Parameters:

  • cwd: Path of the local git repo
  • oldBranch: The branch to merge into
  • newBranch: The branch to merge from

Example

const parsedDiff = require('git-pr-diff')('/Users/me/Projects/thisProj', 'origin/master', 'origin/another-branch');

About

A git pull request diff

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published