Open HidemaruOwO opened 1 year ago
git commit -mと似た挙動をする--amendコマンドを実装する
No response
$ pummit --amend 🔍 Checking HEAD.... 💡 Found the "wb モジュールの追加" ✏ Please edit commit message Message: wb モジュールの追加 # Messageのコミットメッセージの部分にはアンダーラインが引かれている ✅ Edited the commit message to ":wastebasket: モジュールの追加 (go.mod, go.sum)"
\e[2m
color.Underline
どんなコミットをしたか記録する履歴を作成するhistory.json
history.json
{ "remotes": [{ "url": "git@github.com:HidemaruOwO/pummit.git", "branches": [{ "name": "master", "commits": ["wb モジュールの削除", "w モジュールの追加"] }, { "name": "develop", "commits": ["wb モジュールの削除", "w モジュールの追加"] } ] }] }
きみ、history.jsonを作るんじゃなくて、 gitのheadから持ってきてコミットメッセージをパースする方が良くない?
新機能及び改善など
git commit -mと似た挙動をする--amendコマンドを実装する
Pull request / Issue 割振番号
No response
詳細
アンダーラインの出力方法
\e[2m
Checking HEADについて
どんなコミットをしたか記録する履歴を作成する
history.json