This repository was archived by the owner on Apr 14, 2025. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -53,10 +53,49 @@ ARGS:
5353```
5454
5555* broadcast ` git status ` to every repositories
56+
5657``` sh
5758git find -t ' cd {{ .path.full }}; echo "\n\n---------------------------------------------\n$PWD"; git status' | sh
5859````
5960
61+ # ## Template format
62+
63+ The template format is a subset of [golang text/template](https://golang.org/pkg/text/template/).
64+
65+ # ## Possibles values
66+
67+ * !! Experimental: values could change with future release !! *
68+
69+ * .path
70+ * .file_name
71+ * .full
72+ * .remotes
73+ * .< name_of_remote> : eg ' origin'
74+ * .name
75+ * .url_full
76+ * .url_host
77+ * .url_path
78+
79+ # ### Samples
80+
81+ * to list local repository
82+
83+ ` ` ` tmpl
84+ {{ .path.file_name }}\t {{ .path.full }}
85+ ` ` `
86+
87+ * to list local repository with origin url
88+
89+ ` ` ` tmpl
90+ {{ .path.file_name }}\t {{ .path.full }}\t {{with .remotes.origin}} {{ .name }} {{.url_full}} {{.url_host}} {{.url_path}} {{end}}
91+ ` ` ` `
92+
93+ * to create a sh script to " git fetch" on every repository
94+
95+ ` ` ` tmpl
96+ cd {{ .path.full }}; echo " \n\n---------------------------------------------\n$PWD " ; git fetch
97+ ```
98+
6099## <a name =' Install ' ></a >Install
61100
62101### <a name =' Viarusttoolchain ' ></a >Via rust toolchain
You can’t perform that action at this time.
0 commit comments