Explorar o código

git-diff: create a patch file

Frank %!s(int64=8) %!d(string=hai) anos
pai
achega
6bdd183e86
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      pages/common/git-diff.md

+ 4 - 0
pages/common/git-diff.md

@@ -17,3 +17,7 @@
 - Show staged (added, but not yet committed) changes only:
 
 `git diff --staged`
+
+- Create a patch file:
+
+`git diff > {{target-file.patch}}`