Skip to content

Add new clone commands for chaining #183

@ingydotnet

Description

@ingydotnet

Currently you can do powerful chains like this:

git hub repos --raw some-org | git hub clone -

But if a target directory already exists, it will fail.

A solution is to provide these commands:

  • git hub clone-or-skip -- Don't clone if exists.
  • git hub clone-or-pull -- git pull if exists.
  • git hub clone-or-ff -- git pull --ff-only if exists.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions