atproto git client

fix(stack): take the push lease before printing the reconcile plan

`stack resubmit` printed its whole per-member plan and then refused if the branch had moved, so a refusal read like a completed reconcile to anyone skimming stdout or grepping for `rounds:`. The lease is now taken before the first line, and the message names the local rebase that is the usual way in and `atgc stack sync`. `publish_branch` is split into check/send halves so a caller can do this; the ordinary path is unchanged. Change-Id: I0a99db48586fdf473f05e4e9e7d011447f54e7ac


Author
Committer Tangled Date Commit Parent 0585cd0c
+147 -33
6 changed files
+147 -33
6 changed files