<span>Thanks. Gave that a try, but getting another error:</span><br><br><span>pass git reset --hard origin master</span><br><span>fatal: ambiguous argument 'origin': unknown revision or path not in the working tree.</span><br><span>Use '--' to separate paths from revisions, like this:</span><br><span>'git <command> [<revision>...] -- [<file>...]'</span><br><br><span>Think I need a crash course in revision control..</span><br><br><div class="gmail_quote"><div dir="ltr">On Fri, 26 May 2017, 11:18 Andrew Spiers, <<a href="mailto:andrew@andrewspiers.net" target="_blank">andrew@andrewspiers.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">If you haven't added anything new on the new device, maybe try a git<br>
reset --hard origin master on the new laptop.<br>
<br>
On 26 May 2017 at 19:28, <<a href="mailto:ashaw@seberg.co.uk" target="_blank">ashaw@seberg.co.uk</a>> wrote:<br>
> Hi,<br>
><br>
> I have a remote password store GIT repo, and have a few devices set up to sync. All works well, but I'm struggling<br>
> to get a new Linux Fedora laptop to sync for the first time. I've run through the setup, but my initial attempt to<br>
> pull from the remote repo gives me this:<br>
><br>
> There is no tracking information for the current branch.<br>
> Please specify which branch you want to merge with.<br>
> See git-pull(1) for details.<br>
><br>
> git pull <remote> <branch><br>
><br>
> If you wish to set tracking information for this branch you can do so with:<br>
><br>
> git branch --set-upstream-to=origin/<branch> master<br>
><br>
> Likewise, when I try to push:<br>
><br>
> pass git push<br>
> fatal: The current branch master has no upstream branch.<br>
> To push the current branch and set the remote as upstream, use<br>
><br>
> git push --set-upstream origin master<br>
><br>
> Which I try:<br>
><br>
> pass git push --set-upstream origin master<br>
> To ssh://<host>/<repo><br>
> ! [rejected] master -> master (non-fast-forward)<br>
> error: failed to push some refs to 'ssh://<host>/<repo>'<br>
> hint: Updates were rejected because the tip of your current branch is behind<br>
> hint: its remote counterpart. Integrate the remote changes (e.g.<br>
> hint: 'git pull ...') before pushing again.<br>
> hint: See the 'Note about fast-forwards' in 'git push --help' for details.<br>
><br>
> I've looked at some of the GIT posts to try and figure this out, but so far I'm unable to get past this.<br>
><br>
> Can anyone advise as to how to get this working?<br>
><br>
> Many thanks.<br>
><br>
> _______________________________________________<br>
> Password-Store mailing list<br>
> <a href="mailto:Password-Store@lists.zx2c4.com" target="_blank">Password-Store@lists.zx2c4.com</a><br>
> <a href="https://lists.zx2c4.com/mailman/listinfo/password-store" rel="noreferrer" target="_blank">https://lists.zx2c4.com/mailman/listinfo/password-store</a><br>
</blockquote></div>