Checkout our demo site to practice selenium https://magento.softwaretestingboard.com/

0 like 0 dislike
219 views
in Programming by
I have cloned a git repository from github. Now I need to push this repository to private server. How do I do that?

1 Answer

0 like 0 dislike
by
selected by
 
Best answer

You might want to open the .git\config as a plain file from Visual Studio and edit its contents.

You'll see that there is a section defining the remote called origin:

[remote "origin"]
    url = git://foo.org/blah.git
    fetch = +refs/heads/*:refs/remotes/origin/*

If you are using HTTPS (SSL) as a transport layer, then you might want to add:

[http]
    sslVerify = false

if you are using a self-issued SSL certificate on the server.

 


This site is for software testing professionals, where you can ask all your questions and get answers from 1300+ masters of the profession. Click here to submit yours now!

1.4k questions

1.6k answers

866 comments

1.9k users

...