abhinav / abhinav/git-spice

Idea: Horizontal scopes

オープン
#252 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
enhancement
主要言語
Go
スター
762
フォーク
72
平均マージ
18時間 24分
マージ済み PR(30日)
28

説明

Operations in git-spice have scopes: branch, upstack, downstack, and stack.
These can be visualized as vertical scopes.
image

This works quite well when the branches are stacked and their changes are inter-dependent.
A slightly more complicated scenario that I run into sometimes is this:
N > 1 branches that are not dependent on each other, but are closely related—to the same theme, for example.
E.g., a migration in a large repository separated into N independently mergeable changes all against the main branch.

```mermaid
flowchart BT
main --> Folder1 & Folder2 & Dots & Folder3
Dots["..."]
```

In such a set up, it would be quite useful to be able to perform at least submit and restack on all N branches together.

I haven't fully thought out the UX here, but I'm imagining a means of tagging branches with tags (or "theme"?), and perhaps being able to do `gs theme submit` or similar. Still need to think of naming and terminology here.

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。