Skip to content

Commit

Permalink
added a gum committer
Browse files Browse the repository at this point in the history
  • Loading branch information
bikobi committed Apr 7, 2024
1 parent de792dd commit e87b794
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions git-commit.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/bin/env bash

gum choose "fix" "feat" "docs" "style" "refactor" "test" "chore" "revert"
gum input --placeholder "scope"
gum input --value "$TYPE$SCOPE: " --placeholder "Summary of this change"
gum write --placeholder "Details of this change"
gum confirm "Commit changes?" && git add . && git commit -m "$SUMMARY" -m "$DESCRIPTION"
gum confirm "Commit changes?" && git commit -m "$SUMMARY" -m "$DESCRIPTION"

0 comments on commit e87b794

Please sign in to comment.