File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ .TH GIT\- COAUTHOR 1 2024-02-14 5.2.0 Git\ Manual
2+ .SH NAME
3+ \fB git \- coauthor \fR \- List, add or delete Git coauthors
4+ .SH SYNOPSIS
5+ \fB git coauthor \fR [-d] [\fI alias \.\.\. \fR ]
6+ .SH DESCRIPTION
7+ Manage coauthors on the HEAD commit using configured aliases.
8+ .SH OPTIONS
9+ .TP
10+ \fB \- d, \-\- delete \fR
11+ Delete coauthors\.
12+ .TP
13+ \fB \- h, \-\- help \fR
14+ Print help\.
15+ .TP
16+ \fB \- v \, \-\- version \fR
17+ Print the version\.
18+ .SH CONFIGURATION
19+ Add a coauthor to the Git configuration:
20+ .PP
21+ .RS 4
22+ .nf
23+ git config --add coauthor.foo 'Foo <foo@foo.com>'
24+ .fi
25+ .RE
26+ .PP
27+ Remove a coauthor from the Git configuration:
28+ .PP
29+ .RS 4
30+ .nf
31+ git config --unset coauthor.foo
32+ .fi
33+ .RE
34+ .SH EXAMPLES
35+ List coauthors on the HEAD commit:
36+ .PP
37+ .RS 4
38+ git coauthor
39+ .RE
40+ .PP
41+ Add coauthors to the HEAD commit:
42+ .PP
43+ .RS 4
44+ git coauthor foo bar
45+ .RE
46+ .PP
47+ Delete coauthors from the HEAD commit:
48+ .PP
49+ .RS 4
50+ git coauthor -d foo bar
51+ .RE
52+ .PP
53+ Delete all coauthors from the HEAD commit:
54+ .PP
55+ .RS 4
56+ git coauthor -d
57+ .RE
Original file line number Diff line number Diff line change @@ -38,24 +38,23 @@ arm64_sonoma_file="git-coauthor-$version.arm64_sonoma.bottle.1.tar.gz"
3838
3939release_file=" git-coauthor-$version .tar.gz"
4040
41- echo " Create $ventura_file "
4241rm -rf git-coauthor
4342mkdir -p " git-coauthor/$version /bin"
4443mkdir -p " git-coauthor/$version /share/man/man1"
44+
45+ echo " Create $ventura_file "
4546chmod +x git-coauthor-macos-13-x86_64-apple-darwin
4647mv git-coauthor-macos-13-x86_64-apple-darwin " git-coauthor/$version /bin/git-coauthor"
4748cp man/git-coauthor.1 " git-coauthor/$version /share/man/man1/"
4849tar -czf " $ventura_file " git-coauthor
4950
5051echo " Create $arm64_sonoma_file "
51- rm -rf git-coauthor
52- mkdir -p " git-coauthor/$version /bin"
53- mkdir -p " git-coauthor/$version /share/man/man1"
5452chmod +x git-coauthor-macos-14-aarch64-apple-darwin
5553mv git-coauthor-macos-14-aarch64-apple-darwin " git-coauthor/$version /bin/git-coauthor"
56- mv man/git-coauthor.1 " git-coauthor/$version /share/man/man1/"
5754tar -czf " $arm64_sonoma_file " git-coauthor
5855
56+ rm -rf git-coauthor
57+
5958# A bit of cheating
6059echo " Create $arm64_monterey_file "
6160cp " $arm64_sonoma_file " " $arm64_monterey_file "
You can’t perform that action at this time.
0 commit comments