📝 Made notation on features for next version

This commit is contained in:
z3rOR0ne 2022-07-20 13:50:02 -07:00
parent ea1bd1c0b0
commit 4ce97bf149

View file

@ -11,8 +11,9 @@ txtred=${txtbld}$(tput setaf 1)
txtyellow=${txtbld}$(tput setaf 3)
txtwhite=${txtbld}$(tput setaf 7)
# Notes on features to add: Have an option for saving password,
# rather than automatically just saving it...
# Time to rewrite new version:
# Features to include:
# setopts/getopts flags for init,delete repos ( see git_create...txt file in notes)
# Intro Prompt
echo "${txtblue}bgit: a handy shell script for automating simple git inits/commits"
@ -159,7 +160,8 @@ if [ $numrepos -eq 0 ] ; then
# finally adds the specified remote, host site, username, and repository, and pushes it
git remote add $remote "https://$host/$uname/$repo"
git push -u $remote $branch
git push --set-upstream $remote $branch
# git push -u $remote $branch
if [[ $host="github.com" ]] ; then
echo "${txtgreen}Git repository created and initiated!!${txtwhite}"