abhinav / abhinav/git-spice

gs commit float, sink: Send a commit up or down the stack

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

説明

The `git commit float` and `git commit sink` commands will allow sending a commit from the current branch up or down the stack.

Things to decide:

1. Which commits can be moved like this?
2. Can you float/sink to any upstack/downstack branch, or only the next one?

---

For (1), my first reaction is:
`git commit float` can only float the top-most commit of the branch,
and `git commit sink` can only sink the bottom-most commit of the branch,
with the idea that if a commit in the middle of the branch has to be moved,
you should `gs branch edit` to move it to one of the extremes first.

For (2), I think you should be able to select any of the upstack/downstack branches.

Opinions welcome.

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

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

評価

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

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

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