Setting .git Repository on Private Server With One Go Shell Script

First, set your details in global config.

 

I've found this very useful. Basically it create production and hub repository on the server.

 

+ Create this file like a text document, without any extention

+ Upload in /home directory

+ Give executable with SSH terminal connection:

+ Run it with:

Script will ask you project name and will create projectname_hub.git and projectname folder for your project.

Resources:

https://github.com/james2doyle/git-website-workflow

 

Published on: 2015/12/11

Leave a Reply

linkedin facebook pinterest youtube rss twitter instagram facebook-blank rss-blank linkedin-blank pinterest youtube twitter instagram