repos / git-pr

a self-hosted git collaboration server
git clone https://github.com/picosh/git-pr.git

commit
d8f6347
parent
0afba2d
author
Eric Bower
date
2025-03-28 10:58:15 -0400 EDT
chore(cli): update description
1 files changed,  +6, -2
M cli.go
M cli.go
+6, -2
 1@@ -173,7 +173,7 @@ func printPatchsetFromPrID(sesh ssh.Session, pr GitPatchRequest, prID int64) err
 2 }
 3 
 4 func NewCli(sesh ssh.Session, be *Backend, pr GitPatchRequest) *cli.App {
 5-	desc := `Patchbin: a supercharged pastebin for git collaboration.
 6+	desc := fmt.Sprintf(`git-pr: A pastebin supercharged for git collaboration.
 7 
 8 Here's how it works:
 9 	- External contributor clones repo (git-clone)
10@@ -189,7 +189,11 @@ Here's how it works:
11 	- External contributor reviews and removes comments in code!
12 	- External contributor submits another patch (git-format-patch)
13 	- Owner applies patches locally (git-am)
14-	- Owner marks PR as accepted and pushes code to main (git-push)`
15+	- Owner marks PR as accepted and pushes code to main (git-push)
16+
17+To get started, submit a new patch request:
18+  git format-patch main --stdout | ssh %s pr create {repo}
19+`, be.Cfg.Url)
20 
21 	pubkey := be.Pubkey(sesh.PublicKey())
22 	userName := sesh.User()