📝 Made notation on features for next version
This commit is contained in:
parent
ea1bd1c0b0
commit
4ce97bf149
1 changed files with 5 additions and 3 deletions
|
|
@ -11,8 +11,9 @@ txtred=${txtbld}$(tput setaf 1)
|
||||||
txtyellow=${txtbld}$(tput setaf 3)
|
txtyellow=${txtbld}$(tput setaf 3)
|
||||||
txtwhite=${txtbld}$(tput setaf 7)
|
txtwhite=${txtbld}$(tput setaf 7)
|
||||||
|
|
||||||
# Notes on features to add: Have an option for saving password,
|
# Time to rewrite new version:
|
||||||
# rather than automatically just saving it...
|
# Features to include:
|
||||||
|
# setopts/getopts flags for init,delete repos ( see git_create...txt file in notes)
|
||||||
|
|
||||||
# Intro Prompt
|
# Intro Prompt
|
||||||
echo "${txtblue}bgit: a handy shell script for automating simple git inits/commits"
|
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
|
# finally adds the specified remote, host site, username, and repository, and pushes it
|
||||||
git remote add $remote "https://$host/$uname/$repo"
|
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
|
if [[ $host="github.com" ]] ; then
|
||||||
echo "${txtgreen}Git repository created and initiated!!${txtwhite}"
|
echo "${txtgreen}Git repository created and initiated!!${txtwhite}"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue