Skip to content

fatal: 'gh-pages' could be both a local file and a tracking branch. #7

Open
@matheus-ppcd

Description

@matheus-ppcd
Run mgrybyk-org/git-commit-pull-push-action@v1
  with:
    repository: .
    branch: gh-pages
    pull_args: --rebase -X ours
    commit_message: Apply automatic changes
    add_args: .
{
  repository: '.',
  branch: 'gh-pages',
  commitMessage: 'Apply automatic changes',
  pullArgs: '--rebase -X ours',
  addArgs: '.'
}
fatal: 'gh-pages' could be both a local file and a tracking branch.
Please use -- (and optionally --no-guess) to disambiguate

I got this error after running mgrybyk-org/allure-report-branch-js-action@v1. Also tried to to add -- but I think the way I add is still wrong.

Run mgrybyk-org/git-commit-pull-push-action@v1
  with:
    repository: .
    branch: gh-pages
    pull_args: -- --rebase -X ours
    add_args: -- .
    commit_message: Apply automatic changes
{
  repository: '.',
  branch: 'gh-pages',
  commitMessage: 'Apply automatic changes',
  pullArgs: '-- --rebase -X ours',
  addArgs: '-- .'
}
fatal: 'gh-pages' could be both a local file and a tracking branch.
Please use -- (and optionally --no-guess) to disambiguate

Please kindly need your help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions