PHP Classes

PHP Git Diff Patch Creator: Create patch from differences between Git branches

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 54%Total: 98 All time: 9,830 This week: 488Up
Version License PHP version Categories
patch-creator 1.0Public Domain5PHP 5, Files and Folders, Project Man...
Description 

Author

This class can create patch from differences between Git branches.

It takes the names of two branches of a Git local repository and uses the git command to compare the files in the branches.

The class copies to a given output directory the files that do not exist or where changed in the origin branch.

Innovation Award
PHP Programming Innovation award nominee
January 2017
Number 8


Prize: 1 month Livecoding.tv Account Pro subscription
Many developers use Git as version control system for the files of their projects.

Often developers create branches to develop new features without affecting the main branch.

If they want to try a feature being developed on a new branch, they can create a patch and apply it on another branch.

This package makes it easier to create a patch from the differences between branches of a project on a Git repository.

Manuel Lemos
Picture of Istvan Dobrentei
  Performance   Level  
Name: Istvan Dobrentei <contact>
Classes: 12 packages by
Country: Hungary Hungary
Age: 47
All time rank: 134511 in Hungary Hungary
Week rank: 195 Up3 in Hungary Hungary Up
Innovation award
Innovation award
Nominee: 9x

Winner: 1x

Details

create patch files from 2 different git repositories It is useful when you access web servers through ftp only and the codebase is in a git repository. Set the parameters inside it, run and copy the files to the server.

  Files folder image Files (2)  
File Role Description
Plain text file patchCreator.php Class Class source
Accessible without login Plain text file README Data Auxiliary data

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 100%
Total:98
This week:0
All time:9,830
This week:488Up
 User Ratings  
 
 All time
Utility:91%StarStarStarStarStar
Consistency:91%StarStarStarStarStar
Documentation:-
Examples:-
Tests:-
Videos:-
Overall:54%StarStarStar
Rank:2023