Skip to content
This repository was archived by the owner on Mar 24, 2022. It is now read-only.
This repository was archived by the owner on Mar 24, 2022. It is now read-only.

git.checkout error #175

Description

@lvs071103
curl -k https://10.16.1.170:8000/ -H "Accept: application/x-yaml" \
-H "X-Auth-Token: 6bd4679feb2d8f0803bafce0a05f5fabe20f1957" \
-d client='local' -d tgt='*' \
-d fun='git.checkout' -d arg="/data/test/" \
-d arg="leshugit@xxx.xxx.xx.xx:/data/salt/pxqb.git"
return:
- jack_develop: 'ERROR: Command ''git checkout leshugit@xx.xx.xx.xx:/data/salt/pxqb.git''
    failed: fatal: Not a git repository (or any of the parent directories): .git'

I use salt-api update code report this error
how can I update minion's code in new directory from git server ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    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