From 85ba03dd696d12477259e29a0b25e85a68108ca0 Mon Sep 17 00:00:00 2001 From: Silvino Silva Date: Sun, 25 Feb 2018 17:35:59 +0000 Subject: git index html fix --- dev/git/index.html | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) (limited to 'dev/git') diff --git a/dev/git/index.html b/dev/git/index.html index 40ae49d..ad4700a 100644 --- a/dev/git/index.html +++ b/dev/git/index.html @@ -1,6 +1,6 @@ - - - + + + Git @@ -269,7 +269,7 @@ $ git ls-files --deleted -z | xargs -0 git rm -

2.2. Logs and commits

+

2.2. Logs, diff commits

Create patch files to target branch/tag/ref;

@@ -277,7 +277,13 @@ $ git format-patch --no-prefix software-v0.0.1 -

Last commit that affected current path

+

Same using diff tool;

+ +
+    $ diff orig file > file.patch
+    
+ +

Query last commit that affected current file path

     $ git rev-list -n 1 HEAD -- .
-- 
cgit 1.4.1-2-gfad0