gopass setup
: inconsistent behaviour and merge failure because of "unrelated histories"
#2779
Labels
bug
Defects
Summary
Hello, I have some questions on using "gopass setup", firstly to create a store with a remote at location A, and later to initialize a store from a remote (using git) at location B.
Steps To Reproduce
Location A:
So this is the first question:
gopass setup
only behaves as expected in interactive mode? otherwise it silently skips adding a remote.Location B:
Expected behavior
So summing up:
gopass setup
behaves differently when called interactively (it can add a remote) and non-interactively (it silently ignores the remote I give it).git push
,gopass sync
later fail as well. A manual fix is to perform agit pull --allow-unrelated
and then to fix the conflicts manually.Alternative
gopass clone
instead ofgopass setup
Case 3: (clone instead of setup)
gopass clone
seems to work better for my use case, but it always requires interactive input, and some extra manual steps to add user2 as a recipient, if I understand correctly.Environment on both locations
The text was updated successfully, but these errors were encountered: