I have a git on the sever [URL] http://XXXXXXXXX
I have commited in my PC, however, I don’t know how update to the sever.
I want the command line.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
first add your repository on the server as a remote with
where origin is the name for the repository on the server
then push to it with
where origin is the name of your previously added repository and master is the branch where you want to push to.