I want to put my local git project in production server (Linux multi hosting account of go-daddy). Is it possible to add my production server as my remote branch ?
So, having logged in via SSH:
$ mkdir mywebsite.git
$ cd mywebsite.git
$ git init --bare
on local git repo
$ git remote add production [email protected]:mywebsite.git
$ git push production +master:refs/heads/master
I got my solution,but thnx all of you !! :-)
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments