repos / git-pr

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

commit
33ea8c5
parent
067bd37
author
Eric Bower
date
2026-02-24 09:42:52 -0500 EST
chore: added changelog and version identifier

I'm using the date as the semver to make my life easier
3 files changed,  +16, -2
M cli.go
A CHANGELOG.md
+11, -0
 1@@ -0,0 +1,11 @@
 2+# Changelog
 3+
 4+Use spec: https://common-changelog.org/
 5+
 6+## Staged
 7+
 8+## v2026-02-24
 9+
10+### Changed
11+
12+- Added `ssh {username}@pr register` command and now require explicit registration to use this service
M cli.go
+2, -2
 1@@ -177,7 +177,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 := fmt.Sprintf(`git-pr: A pastebin supercharged for git collaboration.
 6+	desc := fmt.Sprintf(`git-pr (v%s): A pastebin supercharged for git collaboration.
 7 
 8 Here's how it works:
 9 	- External contributor clones repo (git-clone)
10@@ -197,7 +197,7 @@ Here's how it works:
11 
12 To get started, submit a new patch request:
13   git format-patch main --stdout | ssh %s pr create {repo}
14-`, be.Cfg.Url)
15+`, GITPR_VERSION, be.Cfg.Url)
16 
17 	pubkey := be.Pubkey(sesh.PublicKey())
18 	userName := sesh.User()
A version.go
+3, -0
1@@ -0,0 +1,3 @@
2+package git
3+
4+var GITPR_VERSION = "2026.02.24"