Skip to content

Latest commit

 

History

History
17 lines (15 loc) · 322 Bytes

shared_repo.org

File metadata and controls

17 lines (15 loc) · 322 Bytes

Shared Repo Setup

Create a shared repository

  • mkdir repo
  • cd repo
  • git init
  • <copy files to this directory>
  • git add .
  • git commit -m ‘Log message’
  • cd ..
  • mkdir repo.git
  • cd repo.git
  • git –bare init –shared
  • git –bare fetch ../repo master:master
  • cd ..
  • rm -rf repo