Dup Ver Goto 📝

Git Bare Repos

To
10 lines, 79 words, 553 chars Page 'BareRepo' does not exist.

From theserverside.com

Creating a bare repo

There are two ways to create a bare Git repo:

  1. Clone an existing repository with the git clone --bare switch.
  2. Create a new bare git repo with the git init --bare switch. Obviously, you should use the bare git init approach when you are starting a brand new project. And use the clone when a Git repo is active and you want to create a backup or extra node point.