mirror of
https://github.com/frej/fast-export.git
synced 2025-11-14 14:45:40 +01:00
Changed the default branch for imports from "master" to "p4"
This commit is contained in:
2
git-p4
2
git-p4
@@ -352,7 +352,7 @@ class GitSync(Command):
|
|||||||
self.knownBranches = Set()
|
self.knownBranches = Set()
|
||||||
self.createdBranches = Set()
|
self.createdBranches = Set()
|
||||||
self.committedChanges = Set()
|
self.committedChanges = Set()
|
||||||
self.branch = "master"
|
self.branch = "p4"
|
||||||
self.detectBranches = False
|
self.detectBranches = False
|
||||||
self.changesFile = ""
|
self.changesFile = ""
|
||||||
|
|
||||||
|
|||||||
@@ -17,9 +17,9 @@ The procedure is simple:
|
|||||||
git init
|
git init
|
||||||
git-p4 sync //path/in/your/perforce/depot
|
git-p4 sync //path/in/your/perforce/depot
|
||||||
|
|
||||||
This will import the current head revision of the specified depot path into the
|
This will import the current head revision of the specified depot path into a
|
||||||
master branch of your git repository. You can use the --branch=mybranch option
|
"p4" 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.
|
to use a different branch.
|
||||||
|
|
||||||
If you want to import the entire history of a given depot path just use
|
If you want to import the entire history of a given depot path just use
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user