---
title: "Comment by Mohamed Eraki on \"GIT Version control - Working locally\" | Hashnode"
description: "git format -patch &lt; commit hash&gt; # Create a file of changes that have been done in this commit git format -patch -2 &lt; commit hash&gt; # determine the n"
url: "https://hashnode.com/posts/git-version-control-working-locally/64d9f73f24b60e56fcce6052/comment/650673775b0b2cfbc555f568"
---

[Discussion](https://hashnode.com/posts/git-version-control-working-locally/64d9f73f24b60e56fcce6052)

Comment [GIT Version control - Working locally](https://hashnode.com/posts/git-version-control-working-locally/64d9f73f24b60e56fcce6052)

[Mohamed Eraki](https://hashnode.com/@mohamed-eleraky)

[Sep 17, 2023](https://hashnode.com/posts/git-version-control-working-locally/64d9f73f24b60e56fcce6052/comment/650673775b0b2cfbc555f568)

```
git format-patch <commit hash> # Create a file of changes that have been done in this commit


git format-patch -2 <commit hash> # determine the number of patches for multiple commits | will get two commit start from the hash mentioned
```
