init: Create a new repository

Usage:
  eg init [--shared]

Description:
  Creates a new repository.

  If you want to publish a copy of an existing repository so that others
  can access it, use 'eg publish' instead.

  Note for cvs/svn users: With cvs or svn it is common to create an empty
  repository on "the server", then check it out locally and start adding
  files and committing.  With eg, it is more natural to create a repository
  on your local machine and start creating and adding files, then later
  (possibly as soon as one commit later) publishing your work to "the
  server".  git (and thus eg) does not currently allow cloning empty
  repositories, so for now you must change habits.

Examples:
  Create a new blank repository, then use it by creating and adding a file
  to it:
      $ mkdir project
      $ cd project
      $ eg init
      Create and edit a file called foo.py
      $ eg stage foo.py
      $ eg commit

  Create a repository to track further changes to an existing project.  Then
  start using it right away
      $ cd cool-program
      $ eg init
      $ eg stage .           # Recursively adds all files
      $ eg commit -m "Initial import of all files"
      Make more changes to fix a bug or add a new feature or...
      $ eg commit

  (Advanced) Create a new blank repository meant to be used in a
  centralized fashion, i.e. a repository for many users to commit to.
      $ mkdir new-project
      $ cd new-project
      $ eg init --shared
      Check repository ownership and user groups to ensure they are right

Options:
  --shared
    Set up a repository that will shared amongst several users; note that
    you are responsible for creating a common group for developers so that
    they can all write to the repository.  Ask your sysadmin or see the
    groupadd(8), usermod(8), chgrp(1), and chmod(1) manpages.

Differences from git init:
  None.

See also
  Run 'git help init' for a comprehensive list of options available.
  eg init is designed to accept the same options as git init, and
  with the same meanings unless specified otherwise in the above
  "Differences" section.