Skip to content

git config user.name <id> でエラー #13

Description

@UEGURI

GitHubで作成したリポジトリへアクセスするために使用するGitHubのユーザー名とメールアドレスを設定ファイルへ登録するところで、コマンドを実行すると以下のようなエラーが出ました。 --global オプションを付けても同じ結果でした。利用環境が Windows 10 PC だからでしょうか?
PS C:\temp> git config user.name
fatal: not in a git directory

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