You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: book/09-git-and-other-scms/sections/client-p4.asc
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@
4
4
(((Perforce)))
5
5
Perforce is a very popular version-control system in corporate environments.
6
6
It's been around since 1995, which makes it the oldest system covered in this chapter.
7
-
As such, it's designed with the constraints of its day; it assumes you're always be connected to a single central server, and only one version is kept on the local disk.
7
+
As such, it's designed with the constraints of its day; it assumes you're always connected to a single central server, and only one version is kept on the local disk.
8
8
To be sure, its features and constraints are well-suited to several specific problems, but there are lots of projects using Perforce where Git would actually work better.
9
9
10
10
There are two options if you'd like to mix your use of Perforce and Git.
@@ -22,7 +22,7 @@ Perforce provides a product called Git Fusion (available at http://www.perforce.
22
22
For our examples, we'll be using the easiest installation method for Git Fusion, which is downloading a virtual machine that runs the Perforce daemon and Git Fusion.
23
23
You can get the virtual machine image from http://www.perforce.com/downloads/Perforce/20-User[], and once it's finished downloading, import it into your favorite virtualization software (we'll use VirtualBox).
24
24
25
-
Upon first starting the machine, it asks you to customize several the password for three Linux users (`root`, `perforce`, and `git`), and provide an instance name, which can be used to distinguish this installation from others on the same network. When that has all completed, you'll see this:
25
+
Upon first starting the machine, it asks you to customize the password for three Linux users (`root`, `perforce`, and `git`), and provide an instance name, which can be used to distinguish this installation from others on the same network. When that has all completed, you'll see this:
@@ -349,7 +349,7 @@ Doing initial import of //depot/www/live/ from revision #head into refs/remotes/
349
349
----
350
350
351
351
This creates what in Git terms is a ``shallow'' clone; only the very latest Perforce revision is imported into Git; remember, Perforce isn't designed to give every revision to every user.
352
-
This is enough to use Git as a Perforce client, but for other purposes it's not enough; see <<_shallow>> for more on this topic.
352
+
This is enough to use Git as a Perforce client, but for other purposes it's not enough.
353
353
354
354
Once it's finished, we have a fully-functional Git repository:
0 commit comments