Skip to content

[Bug]: Unable to configure authentication through Authentication/Commit Author Options #829

Description

@olliezhu

Describe the bug

According to the Getting Started documentation, I should be able to configure my GitHub username and password (personal access token) in the "Authentication/Commit Author" section of Options. I see a "Commit Author" section but no options to configure authentication.

Relevant errors (if available) from notifications or console (CTRL+SHIFT+I)

No response

Steps to reproduce

  • Open up Options for the Git community plugin
  • Confirm that there does not exist an option to configure authentication

Expected Behavior

The Options for this plugin should contain a section for "Authentication/Commit Author".

Addition context

Obsidian v1.7.7

I was able to work around this by manually configuring remote, authentication, commit author, and first commit/push:

  • Cloning my existing remote repository (I happened to do with with the Git plugin command)
  • git remote remove origin
  • git remote add origin https://<personal access token>@github.com/<username>/<repository>
  • git config user.name and git config user.email
  • git add .gitignore, commit, and git push --set-upstream origin main

Opening Obsidian at the path of this Git repository is now authenticated and properly commit-and-syncs with the plugin.

Operating system

macOS

Installation Method

None

Plugin version

2.30.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationsupportThis issue is probably not an actual issue in the plugin, but the user needs help with their setup.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions