Skip to content

Commit

Permalink
added tags functionality to commits
Browse files Browse the repository at this point in the history
  • Loading branch information
PIYUSH-MISHRA-00 committed Aug 17, 2022
1 parent b84f418 commit 28a3a78
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion github.sh
Original file line number Diff line number Diff line change
Expand Up @@ -107,9 +107,13 @@ case $choice in
git config --global user.signingkey $echo$GPG
git init
git add .
echo "Enter Tag name: (Press enter if you want to skip the tag name)"
read tag
echo "Enter Tag message: (Press enter if you want to skip the tag message)"
read tag_message
echo "Enter Commit message: "
read message

git tag -a $echo$tag -m "$echo$tag_message"
git commit -m $echo "$message"

for i in "${!map[@]}"
Expand Down

0 comments on commit 28a3a78

Please sign in to comment.