gitext-rs / git-stack

Stacked branch management for Git
Apache License 2.0
495 stars 19 forks source link

`stack.push-prefix` setting #241

Open epage opened 1 year ago

epage commented 1 year ago

Please complete the following tasks

Version

0.8.3

Use Case

At places without a fork model, all user branches are to the same remote. Some places have user prefixes for branches to avoid collisions. This can get unwieldy for the user to manage those names locally but what if a tool automatically mapped a short local branch name to a long remote one?

Requirements

At minimum, just a string to prefix with

If we supported variable substitution, it'd make it a lot easier to copy/paste the config between users. The question would be on the syntax.

Possible Solutions

No response