1
0
Fork 0
mirror of https://github.com/git/git.git synced 2024-05-21 17:26:09 +02:00

Changed the default branch for imports from "master" to "p4"

Signed-off-by: Simon Hausmann <simon@lst.de>
This commit is contained in:
Simon Hausmann 2007-03-22 20:36:28 +01:00
parent a559b289bd
commit f5816a5522
2 changed files with 4 additions and 4 deletions

View File

@ -352,7 +352,7 @@ class GitSync(Command):
self.knownBranches = Set()
self.createdBranches = Set()
self.committedChanges = Set()
self.branch = "master"
self.branch = "p4"
self.detectBranches = False
self.changesFile = ""

View File

@ -17,9 +17,9 @@ The procedure is simple:
git init
git-p4 sync //path/in/your/perforce/depot
This will import the current head revision of the specified depot path into the
master branch of your git repository. You can use the --branch=mybranch option
to let git-p4 import from Perforce into a git branch of your choice.
This will import the current head revision of the specified depot path into a
"p4" branch of your git repository. You can use the --branch=mybranch option
to use a different branch.
If you want to import the entire history of a given depot path just use