Skip to content

Instantly share code, notes, and snippets.

@Herm71
Last active August 29, 2015 14:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Herm71/2517ecd6920f750522e6 to your computer and use it in GitHub Desktop.
Save Herm71/2517ecd6920f750522e6 to your computer and use it in GitHub Desktop.
Step 2: create bare new project repository on work server
blackbird@computer:~/htdocs$ssh bbdev@blackbirdwork.com
#ssh into work server
bbdev@blackbirdwork.com:~/$ cd git
#change into my git archive directory
bbdev@blackbirdwork.com:~/git$ git init --bare new_project_directory.git
#create new bare repository for our new project
bbdev@blackbirdwork.com:~/git$ exit
blackbird@computer:~/htdocs$
#exit work server back into my local development environment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment