Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

git: 'credential-read-only' is not a git command #1969

Copy link
Copy link
@Sherry520

Description

@Sherry520
Issue body actions

There's no existing/similar bug report.

  • I have searched the existing issues

This report is about a single actionable bug.

  • I'm reporting a single actionable bug

This report is about the ProGit book, version 2, English language.

  • This bug is not about a translation or old version

Bug covers book website/pdf

  • I confirm the bug is about the book as found on the website/pdf

Problem is present in the Pro Git book on the website?

  • This bug also affects the Pro Git book as published on the website.

Which version of the book is affected?

Source files

Describe the bug:

In section "Git Tools" -> "Credential Storage" -> "A Custom Credential Cache"
When I run the command git credential-read-only --file=./ get , error occured:
git: 'credential-read-only' is not a git command. See 'git --help'.

Steps to reproduce:

  1. vim git-credential-read-only

  2. paste the following code as show in section "Git Tools" -> "Credential Storage" -> "A Custom Credential Cache"
    image

  3. export PAHT=~:$PATH

  4. git credential-read-only --file=git.store get

  5. See error
    image

Expected behavior:

In my case, it doesn't show the input and occurred error.

image

Screenshots:

No response

Additional context:

No response

Device

No response

Operating system

No response

Browser/application + version

No response

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.