Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Invalid authentication for Git Remote to troubleshooting #2731

Merged
merged 18 commits into from
Sep 13, 2021
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions content/docs/command-reference/exp/list.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ usage: dvc exp list [-h] [-q | -v] [--rev <rev>]
[git_remote]

positional arguments:
git_remote Optional Git remote name or repo URL
git_remote Optional Git remote name or SSH Git URL
```

## Description
Expand All @@ -20,12 +20,15 @@ or commit they're based on. This is similar to `dvc exp show --no-pager`, but
limited to experiment names and with very simple formatting. See also
`dvc exp run`.

If a working `git_remote` name (e.g. `origin`) or valid Git repo's URL is
If a working `git_remote` name (e.g. `origin`) or valid [SSH Git URL] is
provided, lists experiments in that <abbr>repository</abbr> instead (if any,
based on the `dvc remote default`).

> Note that this utility doesn't require an existing <abbr>DVC project</abbr> to
> run from when a `git_remote` URL is given.
[ssh git url]:
https://git-scm.com/book/en/v2/Git-on-the-Server-The-Protocols#_the_protocols

> This utility doesn't require an existing <abbr>DVC project</abbr> to run from
> when a `git_remote` URL is given.

Only experiments derived from the `HEAD` commit are listed by default (see the
options below).
Expand Down
7 changes: 5 additions & 2 deletions content/docs/command-reference/exp/pull.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ usage: dvc exp pull [-h] [-q | -v] [-f] [--no-cache]
git_remote experiment

positional arguments:
git_remote Git remote name or repo URL
git_remote Git remote name or SSH Git URL
experiment Experiment to pull
```

Expand All @@ -24,9 +24,12 @@ experiments across <abbr>repository</abbr> copies via Git (and DVC) remotes.
> these are saved under custom Git references. See **How does DVC track
> experiments?** in `dvc exp run` to learn more about DVC experiment storage.

A working `git_remote` name (e.g. `origin`) or valid Git repo's URL is required,
A working `git_remote` name (e.g. `origin`) or valid [SSH Git URL] is required,
as well as an `experiment` name or hash (see `dvc exp run`) to pull.

[ssh git url]:
https://git-scm.com/book/en/v2/Git-on-the-Server-The-Protocols#_the_protocols
karajan1001 marked this conversation as resolved.
Show resolved Hide resolved

The first action of `dvc exp pull` is to download the `experiment` so it's
available in the local repository (equivalent to
`git fetch <git_remote> refs/exps/<experiment>`). Use `dvc exp show` to explore
Expand Down
9 changes: 6 additions & 3 deletions content/docs/command-reference/exp/push.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ usage: dvc exp push [-h] [-q | -v] [-f] [--no-cache]
git_remote experiment

positional arguments:
git_remote Git remote name or repo URL
git_remote Git remote name or SSH Git URL
experiment Experiment to push
```

Expand All @@ -24,8 +24,11 @@ experiments across <abbr>repository</abbr> copies via Git (and DVC) remotes.
> these are saved under custom Git references. See **How does DVC track
> experiments?** in `dvc exp run` to learn more about DVC experiment storage.

A working `git_remote` name (e.g. `origin`) or valid Git repo's URL is required,
as well as an `experiment` name or hash (see `dvc exp run`) to push.
A working `git_remote` name (e.g. `origin`) or valid [SSH Git URL] is required,
as well as an `experiment` name or hash (see `dvc exp run`) to pull.

[ssh git url]:
https://git-scm.com/book/en/v2/Git-on-the-Server-The-Protocols#_the_protocols

The first action of `dvc exp push` is to upload the `experiment` to the Git
remote so it can be pulled later from other repo clones (equivalent to
Expand Down