Skip to content

[BUG] Remote branch 'HEAD' not found in upstream origin #1105

Description

@spacehobo

Describe the bug

I used the CLI pass command to push a repository of my encrypted passwords to a remote server. This created a "bare" git repository on that system. When I try to set up Password Store by cloning that remote repository, it complains that there is no HEAD for it to pull. What it should be pulling is main or master, or allowing me to specify the tag/branch to pull.

Steps to reproduce

Steps to reproduce the behavior:

  1. Create a repository with the Password Store CLI
  2. Push it to a remote server, creating a bare repository that other systems sync from
  3. Start up the Password Store Android app, add a correct SSH key, and try pulling from a URL such as ssh://me@myserver.example:22/home/me/.secrets/pass.git/
    1. See error

Expected behavior

I expected it to sync down the files, and then prompt me further to set up my GPG key so I could read and write the data within

Screenshots

Image

Device information

  • Device: Fairphone 5
  • OS: Murena OS
  • App version: 2.0.2

Additional context

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions