Skip to content

Commit

Permalink
first add to git, then edit
Browse files Browse the repository at this point in the history
  • Loading branch information
KommuSoft committed Jan 1, 2025
1 parent 28d3a8e commit e0d6d5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion new-item
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@ if [ ! -f "$file" ]; then
printf "$(< "$typ/template.md.tmp")" "$name" > "$file"
fi

git add "$file"
editor "$file"
hunspell -H "$file"

# commit the work to the branch
git add "$file"
git commit -am "Work on the \"$name\" $typ"

bash rewrite.sh "$file"
Expand Down

0 comments on commit e0d6d5b

Please sign in to comment.