From 4822ee9ec2347a33841d4ed5570152aa2beb1edc Mon Sep 17 00:00:00 2001 From: Guangxiong Lin Date: Mon, 14 Nov 2022 14:01:19 +0800 Subject: Add git archive --- git | 3 +++ 1 file changed, 3 insertions(+) diff --git a/git b/git index 8b9cf0a..35c7184 100644 --- a/git +++ b/git @@ -17,3 +17,6 @@ git filter-branch --tree-filter 'shell command' HEAD # Show branches and their commits git show-branch + +# export to zip +git archive --format=zip --output path/to/file -- cgit v1.2.3