When I do
git push
I get the command prompt like
Username for 'https://github.com':
then I enter my username manually like
Username for 'https://github.com': myusername
and then I hit Enter and I get prompt for my password
Password for 'https://myusername@github.com':
I want the username to be written automatically instead of manually having to type it all the time. i tried expect but could not use it
can anyone help me to write a shell script for it?plz:)