I’ve created an account for github,and set up ssh at home and at my workplace. now I just want to renew and add files so that I do some operation like this:
jty@CVICSE-0E662498 ~/front-end-learn (master)
$ git remote add origin git@github.com:jtyjty99999/front-end-learn.git
jty@CVICSE-0E662498 ~/front-end-learn (master)
$ git push - u origin master
ssh:github.com:noaddress associated with name
fatal: The remote end hung up unexpectedly
I failed T_T. At my workplace I used proxy to connect to Internet, does it matter? How can I solve this problem? thanks everyone cordially.
I think you are inputting the command wrong, I believe it is supposed to be this
git push -u origin master(no space after the ‘-‘)
and you can double check the proper address by using
git remote -vedit: you also have to use the commands
commitandaddto actually tell git what to pushhere is more info