Skip to content

ng github-pages:deploy left the localproject on gh-pages branch #1259

Closed
@xmlking

Description

@xmlking

Please provide us with the following information:

  1. OS? Windows 7, 8 or 10. Linux (which distribution). Mac OSX (Yosemite? El Capitan?)
OSX -  El Capitan
  1. Versions. Please run ng --version. If there's nothing outputted, please
    run in a Terminal:
    node --version
    And paste the result here.
(node:6824) fs: re-evaluating native module sources is not supported. If you are using the graceful-fs module, please update it to a more recent version.
angular-cli: 1.0.0-beta.8
node: 6.2.2
os: darwin x64
  1. Repro steps. Was this an app that wasn't created using the CLI? What change did you
    do on your code? etc.

  2. The log given by the failure. Normally this include a stack trace and some
    more information.

  3. Mention any other details that might be useful.


After running ng github-pages:deploy --message "Optional commit message" command with no changes to code base, my local project is left on gh-pages branch. it should leave on master branch.

when it fails (it leaves in gp-pages branch)

image

when it works

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgenttype: bug/fix

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions