Skip to content

phapp git:pull returns error if there is no master #31

@milkovsky

Description

@milkovsky

After the first installation of a project I ran phapp git:pull.
It returned an error:

phapp git:pull --verbose
➜  Remote origin already present.
 [drunomics\Phapp\Task\Exec] Running
/bin/bash -c 'git fetch origin'
 [drunomics\Phapp\Task\Exec] Done in 2.137s
➜  Remote platform already present.
 [drunomics\Phapp\Task\Exec] Running
/bin/bash -c 'git fetch platform'

 [drunomics\Phapp\Task\Exec] Done in 1.087s
➜  Updating develop...
 [drunomics\Phapp\Task\Exec] Running
/bin/bash -c '(git fetch $PWD origin/develop:develop -q ||
 git merge-base --is-ancestor origin/develop develop) &&
 (git fetch $PWD platform/develop:develop -q ||
 git merge-base --is-ancestor platform/develop develop)'
 [drunomics\Phapp\Task\Exec] Done in 0.029s
➜  Updating master...
 [drunomics\Phapp\Task\Exec] Running
/bin/bash -c '(git fetch $PWD origin/master:master -q ||
 git merge-base --is-ancestor origin/master master) &&
 (git fetch $PWD platform/master:master -q ||
 git merge-base --is-ancestor platform/master master)'
 [drunomics\Phapp\Task\Exec]  Exit code 1  Time 0.019s
 [notice] Stopping on fail. Exiting....
 [error]  Exit Code: 1
 [Collection]    in task drunomics\Phapp\Task\Exec


 [Collection]  Exit code 1
 [notice] Stopping on fail. Exiting....
 [error]  Exit Code: 1
 [error]    in task Robo\Collection\Collection

    in task drunomics\Phapp\Task\Exec

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions