p4 init
Initializes a new Helix Core Server.
For distributed version control only. See Using Helix Core Server for Distributed Versioning (DVCS).
Syntax
p4 [-u user] [-d dir] [-c client] init [-h -q] [-c stream] [-Cx] [-xi -n] [-p]
Description
(DVCS) Initialize a new personal (local) Helix Core Server.
To run p4 init
, you must have up-to-date
and matching versions of the p4
and
p4d
executables in your operating system path. You
can download these executables from
the Perforce website.
Helix Core Server
stores its database files in the directory named .p4root
.
Helix Core Server
stores configuration settings in the P4CONFIG
and
P4IGNORE
files at the top level of your directory. It is not
necessary to view or update these files, but you should be aware that
they exist.
After initializing your new server, run p4 reconcile
to mark
all of your source files to be added to
Helix Core Server, then
p4 submit
to submit
them.
Options
|
Specifies the stream to use as the mainline stream instead of
the default |
|
Sets the case sensitivity of the installation. If x is
set to |
|
Specifies the directory in which Helix Core Server initializes the server. Without this option, Helix Core Server initializes the server in the current directory. |
|
Display help for this command, as it operates on the client. |
|
Configures the installation without unicode support. This is useful because the unicode capability of the local server must match that of the server you fetch from and push to. |
|
Suppresses informational messages. |
|
Specifies the address of a remote server whose case sensitivity and unicode settings you want to discover. Specifying this information makes your local server compatible with the remote server. |
|
Specifies your Helix Core Server user name. |
|
Configures the installation with unicode support. |
|
See Global options. |
Without -xi
or -n
, unicode support is detected
by finding a P4CHARSET
setting.
Usage notes
Can File Arguments Use Revision Specifier? | Can File Arguments Use Revision Range? | Minimal Access Level Required |
---|---|---|
N/A |
N/A |
N/A |
Examples
|
Initializes a new Helix Core Server personal server. |
Related commands
Clone a new server |