Skip to content

Instantly share code, notes, and snippets.

@louismullie
Created October 20, 2016 00:38
Show Gist options
  • Save louismullie/f41250c1de668997e137c01afb9bda97 to your computer and use it in GitHub Desktop.
Save louismullie/f41250c1de668997e137c01afb9bda97 to your computer and use it in GitHub Desktop.
CoreSlicer Remote Setup
# 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