Created
October 20, 2016 00:38
-
-
Save louismullie/f41250c1de668997e137c01afb9bda97 to your computer and use it in GitHub Desktop.
CoreSlicer Remote Setup
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# on remote machine | |
cd /home/coreslicer/www/ | |
mkdir coreslicer && cd coreslicer | |
git init | |
git config receive.denyCurrentBranch updateInstead | |
cd .. && mkdir coreslicer_pipeline && cd coreslicer_pipeline | |
git init | |
git config receive.denyCurrentBranch updateInstead | |
# on local machine | |
git remote rm coreslicer | |
cd coreslicer | |
git remote add coreslicer ssh://coreslicer/home/coreslicer/www/coreslicer | |
git push coreslicer master | |
cd ../coreslicer_pipeline | |
git remote add coreslicer_pipeline ssh://coreslicer/home/coreslicer/www/coreslicer_pipeline | |
git push coreslicer_pipeline master | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment