# Branch for the latest patch level

**URL:** <https://community.open-emr.org/t/branch-for-the-latest-patch-level/7478>\
**Category:** OpenEMR Development\
**Created:** [December 21, 2015, 2:09am UTC](https://community.open-emr.org/t/branch-for-the-latest-patch-level/7478 "2015-12-21T02:09:23Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://discourse-uploads-openemr.s3.dualstack.us-east-1.amazonaws.com/original/2X/b/bb9e4e8ae2ea7faac2e952fd9e38a3ce03aac403.png) [@system](https://community.open-emr.org/u/system)\
**Post date:** [December 21, 2015, 2:09am UTC](https://community.open-emr.org/t/branch-for-the-latest-patch-level/7478/1 "2015-12-21T02:09:23Z")

</div>

**[merlinsilk](https://sourceforge.net/u/merlinsilk/)** wrote on [Monday, December 21, 2015](https://sourceforge.net/p/openemr/discussion/202506/thread/dea41f40/#857a):

I would like to start my modifiactions from the current patch level 4.2.0 (4).  
Where would I find that branch on github?  
Thanks - Merlin

---

<div class="post-metadata">

**Author:** ![system](https://discourse-uploads-openemr.s3.dualstack.us-east-1.amazonaws.com/original/2X/b/bb9e4e8ae2ea7faac2e952fd9e38a3ce03aac403.png) [@system](https://community.open-emr.org/u/system)\
**Post date:** [December 21, 2015, 3:56am UTC](https://community.open-emr.org/t/branch-for-the-latest-patch-level/7478/2 "2015-12-21T03:56:15Z")

</div>

**[cmswest](https://sourceforge.net/u/cmswest/)** wrote on [Monday, December 21, 2015](https://sourceforge.net/p/openemr/discussion/202506/thread/dea41f40/#857a/5586):

this [link](http://stackoverflow.com/questions/4114095/revert-git-repo-to-a-previous-commit) should help answer that

the openemr commit is [here](https://github.com/openemr/openemr/commit/79aa7d9c662bdf32e6155b1068822460149f532b)

---

<div class="post-metadata">

**Author:** ![system](https://discourse-uploads-openemr.s3.dualstack.us-east-1.amazonaws.com/original/2X/b/bb9e4e8ae2ea7faac2e952fd9e38a3ce03aac403.png) [@system](https://community.open-emr.org/u/system)\
**Post date:** [December 23, 2015, 12:11am UTC](https://community.open-emr.org/t/branch-for-the-latest-patch-level/7478/3 "2015-12-23T00:11:29Z")

</div>

**[merlinsilk](https://sourceforge.net/u/merlinsilk/)** wrote on [Wednesday, December 23, 2015](https://sourceforge.net/p/openemr/discussion/202506/thread/dea41f40/#0e1e):

Thanks Stephen,  
but that is not enough info for me -probably for lack of full understanding how to use github.  
I am looking for a way to clone that version of openemr that represents the patch 4 of 4.2.0.  
How would I go about getting that version into my local repository so that I could start developing based on that version.  
Thanks - Merlin

---

<div class="post-metadata">

**Author:** ![system](https://discourse-uploads-openemr.s3.dualstack.us-east-1.amazonaws.com/original/2X/b/bb9e4e8ae2ea7faac2e952fd9e38a3ce03aac403.png) [@system](https://community.open-emr.org/u/system)\
**Post date:** [December 23, 2015, 1:21am UTC](https://community.open-emr.org/t/branch-for-the-latest-patch-level/7478/4 "2015-12-23T01:21:58Z")

</div>

**[cmswest](https://sourceforge.net/u/cmswest/)** wrote on [Wednesday, December 23, 2015](https://sourceforge.net/p/openemr/discussion/202506/thread/dea41f40/#0e1e/02de):

how about this?

git checkout -b merlin3 v4\_2\_0\_3

creates a new branch merlin3 one tag before your desired point in time, then bring in the changes that made patch4

library/gen\_hfca\_1500\_02\_12.inc.php  
library/gen\_x12\_837.inc.php  
version.php

at the commit linked above you can click on parent to see the changes
